ClickOnce更新被用户取消,它再也不会要求更新 [英] ClickOnce update cancelled by user and it never asks for an update again

查看:521
本文介绍了ClickOnce更新被用户取消,它再也不会要求更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Windows Forms 应用程序,它通过 ClickOnce 。在启动应用程序期间,它检查更新并提示用户相同。如果用户选择不安装该会话的更新,它不会再问了。这是设计还是我缺少任何设置?

I've a Windows Forms application, and it is deployed through ClickOnce. During launch of the application it checks for an update and prompts the user for the same. If the user choose not to install the update for that session, it doesn't ask anymore. Is this by design or am I missing any setting?

如何在下次启动应用程序时提示用户进行更新?

How do I make it prompt the user for an update next time he launches the application?

推荐答案

当用户点击跳过时,表示在1周内再次询问。没有办法调整这个时间延迟。

When the user clicks "Skip", it means "Ask me again in 1 week". There is no way to adjust this time delay.

如果在此期间发布新版本的应用程序,用户将再次被提示更新。

If you release a new version of the application in the meantime, the user will again be prompted to update.

您还可以阻止用户首先跳过更新:

You can also prevent the user from skipping the update in the first place by:


  • 在应用程序启动前检查更新,并且

  • 通过指定最低版本

在这种情况下,用户必须更新或无法运行程序。有关详细信息,请参阅 MSDN - 选择ClickOnce更新策略

In this case, the user must either update or they cannot run the program. See MSDN - Choosing a ClickOnce Update Strategy for details.

这篇关于ClickOnce更新被用户取消,它再也不会要求更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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