[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

VSTO 3.0 Add-In installation chaining.

Posted on 2009-05-06
2
Medium Priority
?
493 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 2000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
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.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

649 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