Outlook VSTO加载项 - 无法在Outlook 2019上安装加载项

发布于 2025-01-22 11:06:16 字数 295 浏览 0 评论 0 原文

我已经为Outlook开发了一个STVO加载项。此加载项在我的个人计算机(Office 365)和我的公司计算机(Office 365)上都非常有用。

但是,我对其编程加载项编程的熟人(Microsoft Professional Plus 2019)始终会出现以下错误(错误消息翻译成英语,可能略有不同):由于证书证书,无法在此应用程序中使用用户定义的功能不信任签署XXX或其位置的部署清单。

在所有其他机器上,我只会警告它可能是一个潜在的威胁,但是在熟人的机器上,上述错误消息会出现,您无法安装它。

我需要更改以便他也可以安装它?

I have developed an STVO add-in for Outlook. This add-in works great on both my personal computers (Office 365) and my company computer (also Office 365).

However, an acquaintance for whom I programmed the add-in (Microsoft Professional Plus 2019) always gets the following error (error message translated into English, it may be slightly different): User-defined functions cannot be used in this application because the certificate used to sign the deployment manifest for XXX or its location is not trusted.

On all other machines I just get a warning that it could be a potential threat, but on the acquaintance's machine the above error message comes up and you can't install it.

What do I need to change so that he can install it too?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

羁拥 2025-01-29 11:06:16

假设您的加载项未使用受信任的证书签名,但也许您的Outlook无法识别出版商。对于商业用途,建议使用受信任机构签发的“代码标志证书”签署代码,以便所有客户PC识别证书。获得证书后,请按照文档中写的这些简单步骤签名如何:签名办公解决方案

我希望我一直有帮助

Assuming your add-in isn't signed with a trusted certificate but perhaps yours, Outlook doesn't recognize the publisher. For commercial use, it is recommended to sign the code with a "code signin certificate" issued by a trusted authority so that all customer PCs recognize the certificate. Once you have the certificate, follow these simple steps written in the documentation to sign the project How to: Sign Office solutions

I hope I have been helpful

疧_╮線 2025-01-29 11:06:16

尝试在运行安装程序之前安装证书 - 在Windows Explorer中,右键单击您的签名文件,数字签名|详细信息|查看证书|安装证书。

Try to install the certificate before to running the installer - in Windows Explorer, right click on your signed file, Digital Signatures | Details | View Certificate | Install Certificate.

幻梦 2025-01-29 11:06:16

在解决方案可以在用户计算机上运行之前,您必须授予信任,或者用户在安装解决方案时必须响应信任提示。要对解决方案授予信任,请使用标识已知和值得信赖的发布者的证书来签署清单。参见

您可能会发现使用ClickOnce 文章有帮助。

Before a solution can run on user computers, either you must grant trust or users must respond to a trust prompt when they install the solution. To grant trust to the solution, sign the manifests by using a certificate that identifies a known and trusted publisher. See Trust the solution by signing the application and deployment manifests.

You may find the Deploy an Office solution by using ClickOnce article helpful.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文