Outlook 插件部署

发布于 2024-09-16 06:41:56 字数 655 浏览 2 评论 0原文

刚刚开发了一个 Outlook 插件,但现在我正在尝试创建一个安装项目。我按照 http://www.supinfo-projects.com/ 的教程进行操作en/2006/add_in_outlook_2007_en/introduction/ ,但是当我尝试安装时发生错误(错误 1001。无法设置安全策略。--> 无法创建安全代码组“OutlookPanel”。-->系统找不到指定的文件(hresult 例外:0x80070002)

在安装的自定义操作中我有 / assemblyName="OutlookPanel" /targetDir="[TARGETDIR]\" /solutionCodeGroupName="Company.OutlookPanel" /solutionCodeGroupDescription="OutlookPanel 的代码组" / assemblyCodeGroupName="OutlookPanel" / assemblyCodeGroupDescription="OutlookPanel 的代码组" /allUsers= [所有用户]

有什么问题吗?谁能帮助我吗?

Just developed a outlook addin, but now i am trying to create a setup project. i follow the tutorial from http://www.supinfo-projects.com/en/2006/add_in_outlook_2007_en/introduction/ , but when i try to install a error occurred ( Error 1001. Cannot set the security policy. --> Cannot create the security code group 'OutlookPanel'. --> The system cannot find the spetified file (exception from hresult: 0x80070002)

In the custom action in install i have
/assemblyName="OutlookPanel" /targetDir="[TARGETDIR]\" /solutionCodeGroupName="Company.OutlookPanel" /solutionCodeGroupDescription="Code group for OutlookPanel" /assemblyCodeGroupName="OutlookPanel" /assemblyCodeGroupDescription="Code group for OutlookPanel" /allUsers=[ALLUSERS]

What's the problem?? can anyone help me?

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

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

发布评论

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

评论(3

番薯 2024-09-23 06:41:56

忘记添加注册表项。

Forget to add the registry keys.

何止钟意 2024-09-23 06:41:56

您应该始终在 HKCU 而不是本地计算机或策略下写入密钥。该插件将从 HCKU 正常加载。

You should always write keys under HKCU instead Local Machine or Policies. The addin will load normally from HCKU.

孤檠 2024-09-23 06:41:56

在“HKLM\Software\Microsoft\Office\Outlook\AddIns\YourAddinName.Connect”下添加以下注册表项。

键名:LoadBehavior,
值:“3”(始终在启动时加载),
值类型:整数 (DWORD)。

键名:友好名称,
值:“产品名称”,
值类型:字符串。

键名:描述,
值:“描述”,
值类型:字符串。

但是,您可以忽略第三个键。

Add following registry keys under," HKLM\Software\Microsoft\Office\Outlook\AddIns\YourAddinName.Connect".

Key name : LoadBehavior,
Value :"3" (always load at startup),
Value Type : integer (DWORD).

Key name : FriendlyName,
Value :"Product Name",
Value Type : string.

Key name : Description,
Value :"Description",
Value Type : string.

However, you can ignore the third key.

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