如何在不提示用户的情况下安装ClickOnce应用程序? [英] How to install ClickOnce app without prompting the user?

查看:85
本文介绍了如何在不提示用户的情况下安装ClickOnce应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在完全不提示用户的情况下安装ClickOnce应用程序?我说的是用户首次运行该应用程序时获得的运行/不运行。

Is there a way to install a ClickOnce application without prompting the user at all? I'm talking about the "Run/Don't Run" that a user gets the first time he/she runs the application.

似乎有些线索< a href = http://msdn.microsoft.com/zh-cn/library/ms996418.aspx rel = nofollow noreferrer>此处,但我相信这是关于跳过海拔(UAC)和安全提示,而不是实际的初始运行/不运行屏幕。

There seem to be some clues here but I believe it's about skipping the "Elevation" (UAC) and security prompts, and not the actual initial "Run/Don't Run" screen.

我只能找到有关如何以静默方式更新已安装在应用程序中的应用程序的信息。

I can only find information about how to silently update an application that's been installed in the past, but nothing about silently installing an application for the first time.

我还发现这篇帖子似乎与之相关,但同样,不确定我们是否在谈论同一用户提示...

I also found this post which seems to be related, but again, not sure if we're talking about the same user prompt...

推荐答案

在没有提示用户的情况下无法安装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.

这篇关于如何在不提示用户的情况下安装ClickOnce应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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