Solved

VSTO 3.0 Add-In installation chaining.

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
orderby list (from Json) 1 42
Header Font Size in Grid View 6 45
How we can add Dten600.dll in GAC in c#. 18 52
Datagridview column resizing 8 23
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

738 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