Deploying Visual Studio Tools For Office 3.0 Runtime (EXE) in an MSI Package without using a Bootstrapper

Chris picture Chris · Feb 5, 2010 · Viewed 8.8k times · Source

I have created a Word Addin and created the MSI package to distribute it.

Using the information found in http://msdn.microsoft.com/en-us/library/cc563937.aspx ...

I have tested the Setup.exe and the Addin installs correctly.

The issue is when deploying the Addin over our network our system admin needs the file in an MSI rather than an exe. However when running the MSI a pre-requisite (VSTOR.EXE) needs to be installed first. This by default asks us to run the setup.exe (boostrapper) which installs the files.

If i can find an MSI of VSTOR.EXE (which unfortunately i can't) then we could push that out to all machines first therfore the pre-requisite would be met and the bootstrapper would not be called.

Any suggestions would be great???

Chris

Answer

Michael Regan picture Michael Regan · Feb 6, 2010

If you're using Visual Studio 2008 SP1, here is the VSTO run-time installation info:

Microsoft: VSTO Runtime 3.0, VSTO Runtime 3.0 SP1 (Both required)

Install VSTO 3.0, then SP1. Here is the silent install used by the bootstrapper:
[vstor.exe] /q:a /c:"install /q /l"

If you want to check some registry values before installing (to tell if already installed), look for these (3.0, then SP1):
HKLM\Software\Microsoft\VSTO Runtime Setup\v9.0.21022\Install
HKLM\Software\Microsoft\VSTO Runtime Setup\v9.0.30729\Install