ClickOnce的更新通过用户取消它从不用于更新又问 [英] ClickOnce update cancelled by user and it never asks for an update again

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

问题描述

我有一个 Windows窗体应用程序,它通过的的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天全站免登陆