简体   繁体   English

使用Visual Studio为Office Outlook加载项创建MSI

[英]Create MSI for Office Outlook Add-In with visual studio

I have create ac# application with a windows service and 2 vsto projects. 我已经创建了一个带有Windows服务和2个vsto项目的ac#应用程序。 Once the MSI has been created/installed i can see the one add-in was installed and the service is deployed as well. 创建/安装MSI后,我可以看到已安装了一个加载项,并且该服务也已部署。 My problem comes in where only one of the vsto projects is installed. 我的问题来自仅安装了一个vsto项目的地方。 The one that is giving me nightmares is a Outlook visual designer ribbon. 一个让我做噩梦的人是Outlook视觉设计师功能区。 The other vsto project is a non visual add-in, and that one installs just fine. 另一个vsto项目是一个非可视加载项,可以很好地安装。 For the life of me i can't figure out why the visual designer is not installing, it is not in outlook options and not in control panel/add remove either. 对于我一生,我无法弄清楚为什么不安装视觉设计器,它不在Outlook选项中,也不在控制面板中/添加都删除。 Compiling it from Visual studio everything works fine and runs as it should. 从Visual Studio编译它,一切正常,并可以正常运行。 Does anyone maybe have an idea of what could be wrong? 有人可能对什么地方有想法吗? Thanks in advance. 提前致谢。

If you don't see your add-in listed on the COM add-ins dialog the required windows registry keys were not added properly. 如果您没有在COM加载项对话框中看到您的加载项,则所需的Windows注册表项未正确添加。 See Registry Entries for Application-Level Add-Ins for more information. 有关更多信息,请参见应用程序级加载项的注册表项

Make sure that you did all the necessary steps described in the Deploying an Office Solution by Using Windows Installer article. 确保您已完成“ 使用Windows Installer部署Office解决方案”一文中描述的所有必要步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM