单击一次更新选择
我有一个点击一次安装,效果很好。但是,如果我在定义 clickonce 清单时设置更新策略,应用程序将根据该规则进行更新,并且它们永远无法选择推迟更新。
我如何让用户选择更新或不更新应用程序?
编辑 24/10/2011 以下 codeConcussion 的问题: 更新被定义为: - 应用程序应检查更新 - 在应用程序启动之前
但是我宁愿提出更新建议,最终决定由最终用户做出(如 Windows 更新),而不是在所有情况下强制更新。
I have a clickonce install that works fine. However, if I set an update strategy when defining the clickonce manifest, the applications gets updated based on that rule and they never have the choice to postpone the update.
How can I give the user the choice to update or not the application ?
EDIT 24/10/2011 following codeConcussion's questions:
The update is defined so that:
- the application should check for updates
- before the application starts
However I'd rather propose a suggestion to update, with the final decision to be made by the end-user (like in windows update) rather than impose the update in all cases.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以让它在“更新”对话框中运行应用程序之前检查更新。如果您没有设置所需的最低版本,则会提示用户进行更新,并给他们机会跳过或接受更新。
You can have it check for updates before running the application in the Updates dialog. If you do not set the minimum required version, it will prompt the user for the update, and give them the opportunity to skip or accept the update.
您必须为它创建一个引导程序,它将弹出您的定制屏幕并询问他们是否要继续您的更新。
You will have to create a boostrap for it, where you it will pop up your custom made screen and ask if they want to go ahead with your update or not.