如何使用Installshield 2008为Excel创建VSTO(COM)Addin的InstallShield安装程序

时间:2022-05-08 22:36:40

I have created a com addIn in Visual Studio Tools for Office (VSTO) for Excel 2010 and I want to create a single exe setup file for end user. I have googled this issue but all I can find are the solutions using Visual studio. I want to create setup with Installshield program.

我在Excel 2010的Visual Studio Tools for Office(VSTO)中创建了一个com addIn,我想为最终用户创建一个exe设置文件。我搜索了这个问题,但我能找到的只是使用Visual Studio的解决方案。我想用Installshield程序创建安装程序。

1 个解决方案

#1


2  

The process is described here in details for InstallShield Limited Edition (it should be very similar to Installshield 2008). It is a standard installation procedure except for 2 important points :

此处详细介绍了InstallShield Limited Edition(它应与Installshield 2008非常相似)。这是一个标准的安装程序,除了两个重点:

  • You must ensure that the VSTO runtime is installed on the client machine.
  • 您必须确保在客户端计算机上安装了VSTO运行时。
  • You must create a set of registry keys to enable the Office application to discover and load the VSTO Add-in. see here.
  • 您必须创建一组注册表项以使Office应用程序能够发现并加载VSTO加载项。看这里。

#1


2  

The process is described here in details for InstallShield Limited Edition (it should be very similar to Installshield 2008). It is a standard installation procedure except for 2 important points :

此处详细介绍了InstallShield Limited Edition(它应与Installshield 2008非常相似)。这是一个标准的安装程序,除了两个重点:

  • You must ensure that the VSTO runtime is installed on the client machine.
  • 您必须确保在客户端计算机上安装了VSTO运行时。
  • You must create a set of registry keys to enable the Office application to discover and load the VSTO Add-in. see here.
  • 您必须创建一组注册表项以使Office应用程序能够发现并加载VSTO加载项。看这里。