[英]VSTO Outlook Deployment - ClickOnce
I have written a very simple add-in that adds a button to the ribbon of outlook (C#). 我写了一个非常简单的加载项,它在outlook(C#)的带子上添加了一个按钮。
I have spent days trying to get this very simple add-in to install on another machine using the clickonce method. 我花了几天时间尝试使用clickonce方法将这个非常简单的加载项安装到另一台机器上。
I have published clickonce to ftp using Visual Studio. 我使用Visual Studio将clickonce发布到ftp。 All fine so far.
到目前为止都很好。
Upon running the resulting vsto (or setup.exe) on a different machine I am getting the error: 在另一台机器上运行生成的vsto(或setup.exe)时,我收到错误:
'System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for Add-In or its location is not trusted.
'System.Security.SecurityException:此应用程序中的自定义功能将不起作用,因为用于为加载项或其位置签署部署清单的证书不受信任。 Contact your administrator for further assistance.'
请联系您的管理员以获得进一步的帮
I understand the idea behind a certificate being required to remove rogue add-ins being added to Outlook. 我理解要删除添加到Outlook的恶意加载项所需的证书背后的想法。 I have signed the clickonce deployment using a test certificate on my machine.
我已经在我的机器上使用测试证书签署了clickonce部署。
Simply is it possible, without paying for a third-party certificate, to give a user the clickonce url and them install it without me having to do anything to their machine? 在没有支付第三方证书的情况下,为用户提供clickonce网址并且他们安装它而不必为他们的机器做任何事情是可能的吗? (and/or domain etc.) This is ideally to be used by lots of enterprise users.
(和/或域等)理想情况下,这可供许多企业用户使用。 Altering their environment isn't practical.
改变他们的环境是不切实际的。
Many thanks. 非常感谢。
Check your certificate chain. 检查您的证书链。 Most likely you need to place a copy of the certificate into:
您很可能需要将证书副本放入:
Certificates - Current User\\Trusted Root Certification Authorities 证书 - 当前用户\\受信任的根证书颁发机构
...so your "issuer" is trusted in order for your certificate to be trusted. ...因此您的“颁发者”是受信任的,以便您的证书受到信任。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.