Solved

VSTO 3.0 Add-In installation chaining.

Posted on 2009-05-06
2
438 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
2 Comments
 
LVL 3

Accepted Solution

by:
drmason earned 500 total points
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how use content aware, what it’s used for, and when to use it over other tools.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now