ClickOnce应用程序安装 - 安全警告

ClickOnce应用程序安装 - 安全警告

问题描述:

我有部署在网站上ClickOnce应用程序(比如, http://example.com )和用户从该网站下载我发布的应用程序的setup.exe文件并安装其计算机上的应用程序。

I have a clickonce application that is deployed on the website (say, http://example.com) and users will download the setup.exe file of my published application from that website and install the application on their computer.

我签署了我的应用程序与清单的ClickOnce通过GoDaddy的为我公司颁发的证书。

但是,用户仍然可以得到下面的应用程序安全警告,当他们尝试安装我的应用程序。有没有办法解决,使这一安全警告将根本不显示?

But, the User still get the following Application Security Warning when they try to install my application. Is there a way around so that this security warning will not be shown at all?

任何帮助将不胜感激。

好了,你必须遵循在MSDN库的步骤(的来源):

Well, you have to follow the steps in the MSDN-library (source):

在ClickOnce应用程序被用户桌面的$ b​​ $上启动b首先时间,.NET框架运行时会首先检查以确保
中的应用程序清单还没有被篡改,因为他们是
与被用于签名什么的发行者证书签名。如果
他们传递检查,运行时将查找到受信任的根
认证中心店,看看是否被安装在商店的发布者的证书的
发行人的证书。它$那么b $ B将看看谁的证书上的发布者,看看是否
他们的证书是在受信任的发行商店。 如果这两个
事情属实,那么的默认的用户将不会提示
,然后
中的应用程序将被授予任何权限在指定
应用程序清单文件。

When a ClickOnce application is being launched on a user's desktop the first time, the .NET Framework runtime will first check to ensure that the application manifests have not been tampered with since they were signed with whatever publisher certificate was used for signing. If they pass that check, the runtime will then look into the Trusted Root Certification Authority store and see if the certificate for the issuer of the publisher's certificate is installed in that store. It will then look at who the publisher on the certificate is, and see if their certificate is in the Trusted Publishers store. If those two things are true, then by default the user will not be prompted, and the application will be granted whatever privileges are specified in the application manifest file.

只要最终用户没有修改自己的通知设置,提示韩元 T显示了。

As long as the end user hasn't modified his notification settings, the prompt won't show up.