OK, I have a Windows Forms application published using ClickOnce tohttp://MyDevComputer1/DevPublishFolder/
, so the deployement link is http://MyDevComputer1/DevPublishFolder/publish.htm
.
The application is already deployed to close to 20 machines in the company intranet. I now have a requirement to change the publish location to a different server in the same network, but I'm just not sure how this change will affect the users who already have the application installed on their client machines.
How do I make sure the application detects that the publish location has been changed to a different server during the next application start up on client machines?
Or must I go and uninstall the application on all the client machines, and then re-install from the new publish location?
Every ClickOnce application installed on a local computer has a data directory, stored in the user's Documents and Settings folder. Any file included in a ClickOnce application and marked as a "data" file is copied to this directory when an application is installed.
Click the Publish tab. Click the Updates button to open the Application Updates dialog box. In the Application Updates dialog box, make sure that the check box The application should check for updates is selected. In the Choose when the application should check for updates section, select After the application starts.
Once all of the clients have received the new version, they will look to the new URL (and your new server) for all future updates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With