Effect of changing ClickOnce application publish location on clients' machines

断了今生、忘了曾经 提交于 2019-11-27 14:47:19

问题


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?


回答1:


  • 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.




回答2:


How to move a ClickOnce deployment is the article that goes with the video showing how to move a ClickOnce deployment.



来源:https://stackoverflow.com/questions/684794/effect-of-changing-clickonce-application-publish-location-on-clients-machines

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!