VSTO 已签名,但安装时仍收到确认提示
我为 Outlook 开发了一个 VSTO 插件。我使用从 Verisign Inc. 购买的证书签署该插件。该证书有效并由受信任的根机构授权。但是,当我的客户安装该插件时,他们仍然会收到“您想从该发布商安装此插件吗?”的提示。问题。
据我了解,威瑞信证书足以消除这种情况,对吗? 这个提示是 VSTO 插件安装中必需的吗?
谢谢
I develop a VSTO addon for Outlook. I sign the addon with a certificate purchased with Verisign Inc. The cert is valid and authorized by a trusted root authority. But when my customers install the addon they are still prompted with "Do you want to install this addon from this publisher?" question.
From what I understand Verisign cert is enough to make this go away, am I right?
Is this prompt a mandatory in VSTO addon installation?
Thanks
不,提示不是强制性的,但听起来像是
1)你的代码实际上没有签名,即使你认为它是(你应该能够通过右键单击编译的 DLL 并检查安全选项卡来验证这一点)
2)证书不是正确类型的证书(有不同类型的证书,我相信您需要的证书称为“代码签名”证书。
3)也许客户的机器上还有一个旧版本仍在加载(因此会提示)?
但简短的答案是,使用正确的证书、正确签名并正确安装,用户将不会收到提示。
No, the prompt isn't mandatory, but it sounds like either
1) your code isn't actually signed, even though you think it is (you should be able to verify that by right clicking on the compiled DLL and examining the security tab)
2) The Cert isn't the right kind of cert (there are different kinds of certs, I believe the one you need is called a "Code Signing" cert.
3) Maybe there's an older version on the customer's machine that's still being loaded (and hence prompting)?
But short answer is, with the right cert, properly signed and properly installed, the user won't get the prompt.