Solved

VSTO 3.0 Add-In installation chaining.

Posted on 2009-05-06
2
450 Views
Last Modified: 2013-12-12
I have a .msi installer for a product that I'm distributing.  During this installation, (it doesn't matter when), I would like to also install some VSTO add-ins.

Right now I'm calling the setup.exe files for the add-ins from an installer class in the Commit phase of my installation.  However, this only works if the user already has the VSTO 3.0 run time files installed.  The reason is that when the setup.exe is run, it detects that the VSTO 3.0 run time files need to be installed and attempts to install them, but fails when installing because "Another setup project is currently open".

I imagine this means I need to run the add-in setup.exe after my .msi has finished installing.  But I'm not exactly sure how to do just that.

I briefly glanced at chaining but couldn't find anything that applied to my situation.  I also considered trying to run the setup.exe from a vbscript custom action during the commit phase of the installtion, but I'm afriad this might give me the same result.

How can I go about running these setup.exe files after the .msi has completed installation, to prevent any errors with the installation of the VSTO 3.0 Runtime files?

Thanks!
0
Comment
Question by:OFGemini
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
drmason earned 500 total points
ID: 24345827
Perhaps use IExpress (in Windows\System32) to package up your msi and the VSTOR3 setup, along with a batch file that runs the VSTOR3 setup then the msi?

Alternatively, if you can get an msi or msp version of the VSTO3 installer (e.g. by starting the installer than finding the relevant file in the temporary folder that the setup program uses), you can use the WiX3 utility SetupBld.exe to combine the msp and msi files into one executable.
0
 

Author Comment

by:OFGemini
ID: 24355926
I ended up using a different method to install the VSTO setup.exe files.

However, your solution with WiX3 is accurate and will fix this dilemma should anyone one else encounter the same.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question