C# Click once developmets

Hi, I need to install C# Application the Network sharing place. Then all the users to access the EXE file.
without installing all the user's machine individually. How to do that.
Many Thanks
LVL 10
ukerandiAsked:
Who is Participating?
 
AndyAinscowFreelance programmer / ConsultantCommented:
You might wish to look at this:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/51b8c600-bbc6-41a9-b345-62afa0dddf98/faq-where-is-the-location-of-clickonce-installation-and-what-are-the-restrictions-of-clickonce?forum=vbgeneral

The admin of the server would have to install your app to the default location then one of two things.
Share that location with other users of the system.
Physically copy the exe file to a shared folder.

Note both methods have severe disadvantages.

You may wish to consider using another tool to publish the app rather than Click Once.

ps.  A general point - I wouldn't recommend having the exe on a shared folder in any case.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
Create the click once project with the settings you require.  Then the administrator of the server installs it with the install location in a folder shared to the users who have to access the exe.
0
 
ukerandiAuthor Commented:
@AndyAinscow.Thanks how to do that, can you show me examples.thx
0
 
Dirk StraussSenior Full Stack DeveloperCommented:
Have a look at the Microsoft documentation: Publishing ClickOnce Applications.
Another good article is: How to: Publish a ClickOnce Application using the Publish Wizard.
If you are using a build server: Continuously Deploy Your ClickOnce Application From Your Build Server.

If you need to specify which files are published: How to: Specify Which Files Are Published by ClickOnce.

It might also be worth reading: ClickOnce Security and Deployment.

While you are at it, check out HockeyApp which has a free tier.

Lastly, here is an older article, but it could be relevant to your requirements: All You Need Is One – A ClickOnce Love Story.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
I feel that enough information has been provided to let the author decide how best to continue.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.