我如何实现我的内部winform应用程序的自动更新策略我的、如何实现、自动更新、应用程序

2023-09-06 14:42:35 作者:情初似海

我们有一个在我公司使用了约20名用户在房子WinForm应用程序。这是有给用户发送一个新的MSI时应用范围发生了变化,我想有提示用户从应用程序他们是否想更新自己的副本真正的痛苦。我的想法是,应用程序的源代码将是我们公司的服务器和应用程序看起来到一个数据库,以查看是否更新提供服务。除此之外,我不知道从那里走。具有类似于此的任何一个做过什么或没有任何一个有关于我应该怎么实现这个的任何建议。

解决方案

的ClickOnce 。

在WinForm应用程序中实现自动升级

如果这是一个相当简单的程序(没有多少相关性)认为保持程序在网络共享上有让用户从那里运行。

We have an in house winform application that is used by about 20 users in my company. It's a real pain having to send the users a new msi when the application has changed in scope and I would like to have the users prompted from the application as to whether they would like to update their copy. My thoughts are that the source of the application would be on our company server and that the application would look to a database to see if updates area available. Aside from that I don't know where to go from there. Has any one done anything similar to this or does any one have any recommendations on how I should implement this.

解决方案

ClickOnce.

If it's a fairly simple program (not many dependencies) consider keeping the program on a network share have have users run from there.