Solved

VSTO 3.0 Add-In installation chaining.

Posted on 2009-05-06
2
465 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

705 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