简体   繁体   English

Office 2010加载项部署

[英]Office 2010 Add-in deployment

I'm searching the way in order to properly deploy a Visio 2010 Add-in. 我正在搜索正确部署Visio 2010加载项的方式。 I tried to publish it via ClickOnce, and it does the job. 我试图通过ClickOnce发布它,它完成了这项工作。 But I would like to have just one file, in Setup.exe style. 但我想只有一个文件,在Setup.exe风格。 So I oped for a Setup Project, unfortunately with no success. 所以我为一个安装项目做了准备,但遗憾的是没有成功。 The files are copied, I see it under the Programs list, but the add in is not registered. 文件被复制,我在程序列表下看到它,但是没有注册添加。 Perhaps you know how to check if Visio 2010 is installed during the installation process, if not abort it, and then register the add in? 也许您知道如何在安装过程中检查是否安装了Visio 2010,如果没有中止,然后注册添加? Any other solution? 还有其他方法吗?

After a long research I found this guide that explains everything, step by step and has an working example! 经过长时间的研究,我发现本指南一步一步解释了一切,并有一个有效的例子! Well done Microsoft! 干得好微软!

http://msdn.microsoft.com/en-us/library/ff937654.aspx http://msdn.microsoft.com/en-us/library/ff937654.aspx

Thanks 谢谢

In order to deploy the addin you have to 为了部署你必须的插件

  • Create entry in registry form installer in HKCU\\Software\\Microsoft\\Office... (manifest, loadBehavior, friendlyname, culuture etc) 在HKCU \\ Software \\ Microsoft \\ Office ...(清单,loadBehavior,friendlyname,culuture等)中的注册表表单安装程序中创建条目
  • Attach to the installed files .VSTO and .manifest file 附加到已安装的文件.VSTO和.manifest文件
  • Add VSTO runtime and proper .NET version to the pre-requisites 将VSTO运行时和正确的.NET版本添加到先决条件中

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

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