Reputation: 3494
I have a Windows Form app which I developed and deployed to a network share. The users of my program have shortcuts on their desktop to the exe file. If I need to upgrade the program (deploy new bits), I cannot do this while the users have the files open (exe is running on their machine). What kind of options do I have? I'd like to minimize the changes to the shortcuts from a maintenance perspective.
Upvotes: 0
Views: 295
Reputation: 13706
In our workplace, we have a wrapper application which checks the server, then copies any files which are newer on the server to the local machine, then launches the app from the local machine. We then created a shortcut to this wrapper on the desktop, and made it look like it was the actual app.
This would take a one-time change to each machine to set up, but you could probably write something to automate it based on a check of the path to the executable when it is launched.
Upvotes: 2