Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Effect of changing ClickOnce application publish location on clients' machines

Tags:

clickonce

OK, I have a Windows Forms application published using ClickOnce to
http://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?

like image 206
StackTrace Avatar asked Mar 26 '09 07:03

StackTrace


People also ask

Where are ClickOnce applications stored?

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.

How do I manage updates for a ClickOnce application?

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.


1 Answers

  • Go to the Publish tab and click the Updates button.
  • Add the new URL to Update Location dropdown list and click ok
  • Publish

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.

like image 132
Aaron Avatar answered Sep 20 '22 02:09

Aaron