ClickOnce update cancelled by user and it never asks for an update again

后端 未结 2 1796
春和景丽
春和景丽 2021-02-05 17:19

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

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-05 17:45

    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:

    • Checking for updates before the application starts, and
    • Making the update required by specifying a minimum version

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

提交回复
热议问题