在运行时以静默方式更新应用程序 [英] Update application silently while running
问题描述
我的应用最初将与Windows Installer一起部署.
My App will be initially deployed with Windows Installer.
我正在寻找的解决方案的关键特征包括:
The key characteristics of the solution I am looking for include:
-
在应用程序处于运行状态时支持无提示更新运行(或自动重启)客户)
Support silent update while app is running (or automatically restart client)
易于维护和管理包装处理
Easy to maintain and manage packing process
避免复杂的自定义或安装脚本
Avoid complex customizations or installation scripts
您对我该如何实现有任何想法?即使这意味着修改应用程序代码以支持任何想法.
Do you have any ideas on how can I achieve this? Even if it means to modify the app code to support any idea.
应用程序是.net 2.0
Application is .net 2.0
推荐答案
您是否考虑过使用ClickOnce进行部署?它具有以编程方式检查更新并有选择地强制安装更新的功能-请参见 http://msdn.microsoft.com/zh-CN/library/ms404263.aspx
Have you considered using ClickOnce for deployment? It has a facility to programatically check for updates and optionally force them to be installed - see http://msdn.microsoft.com/en-us/library/ms404263.aspx
这篇关于在运行时以静默方式更新应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!