且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在不提示用户的情况下安装ClickOnce应用程序?

更新时间:2022-11-03 15:40:18

在没有提示用户的情况下无法安装ClickOnce应用程序。如果您希望用户能够双击它,并且它只是在安装时未经用户确认,则不要使用ClickOnce。坦率地说,以我的经验,只有在企业环境中随SMS推送的恶意软件和软件包才会安装,而不会提示用户。

There is no way to install a ClickOnce application without prompting the user. if you want the user to be able to double-click on it, and it just installs without verifying with the user, don't use ClickOnce. Frankly, in my experience, only malware and packages pushed with SMS in an enterprise environment install without any prompting to the user.