更改ClickOnce应用程序发布位置对客户端计算机的影响 [英] Effect of changing ClickOnce application publish location on clients' machines

查看:73
本文介绍了更改ClickOnce应用程序发布位置对客户端计算机的影响的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我有一个 Windows窗体应用程序,该应用程序是使用 ClickOnce

http:// MyDevComputer1 / DevPublishFolder / ,因此部署链接为 http://MyDevComputer1/DevPublishFolder/publish.htm

OK, I have a Windows Forms application published using ClickOnce to
http://MyDevComputer1/DevPublishFolder/, so the deployement link is http://MyDevComputer1/DevPublishFolder/publish.htm.

该应用程序已部署到公司内部网中的近20台计算机上。现在,我需要将发布位置更改为同一网络中的其他服务器,但是我不确定此更改将如何影响已经在其客户端计算机上安装了该应用程序的用户。

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?

推荐答案


  • 转到发布选项卡,然后单击更新按钮。

  • 将新URL添加到更新位置下拉列表中,然后单击确定。

  • 发布

  • 一旦所有客户端都收到了新版本,他们将使用新的URL(和您的新服务器)查找所有将来的更新。

    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.

    这篇关于更改ClickOnce应用程序发布位置对客户端计算机的影响的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆