使用 InstallShield limited edition 打包部署Outlook 2013 Office add-in插件

原文: Outlook: Deploying an Outlook 2013 add-in (using InstallShield LE)

 

Today I had to create an installer for an Outlook 2013 add-in (created using Visual Studio 2013), and as the process is different to previous versions I thought I'd document it here.  I will only detail the differences from previous versions - I am assuming that you have completed the first three steps that are the same as described here.

Add a new project to the solution, and select InstallShield Limited Edition Project (note that you will have to have installed this - the first time you select to add it, you will be guided through the process)

Select Application Information, and enter details for your add-in.

Select the installation requirements for your add-in.  Currently it seems that Office 2013 is not available as a pre-requisite, so the only one to include is .Net 4.5 (or whichever framework your add-in uses).

 Add the application files.  As for previous versions of VSTO, you need to add the project output, and also the manifest and vsto files from the output folder of the add-in project.

Set the registry keys.  These also are the same as previous versions.  The screenshot here shows the keys for a 32 bit add-in (i.e. with 32 bit Outlook).  64 bit would use the 64 bit registry.

(注意:

****示例用的是HKEY_LOCAL_MACHINE ,也可能是HKEY_CURRENT_USER,

****Outlook也可以是相应的Word/Excel/PowerPoint等)

Windows Registry Editor Version 5.00 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Outlook\Addins\NameOfAddin]
"Manifest"="[INSTALLDIR]NameOfAddin.vsto|vstolocal"
"Description"="addinxxxxx"
"FriendlyName"="addinxxxxxx"
"LoadBehavior"=3    ------------------DWORD Value

Choose your options for the installation interface.

Finally, check the setting for your build.  I chose a single image build, as this creates a setup.exe.  Once done, you can build the setup project and then locate the setup.exe in the output folder.  This can be deployed to users.

 

posted on 2016-01-14 10:30 NET未来之路 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/lonelyxmas/p/5129387.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值