Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Windows Installer - using it as an Add-in installer

Posted on 2004-10-24
Medium Priority
Last Modified: 2010-04-24
I am trying to install two programs within the same [TargetDir] folder.   The first program is the main app...the second is an "add-in" for the main application.   When I try to build an MSI for the second application, I want to read in the [TargetDir] from the first applicaiton.  The problem is that .NET doesn't seem to have a friendly way reading in a directory from an existing MSI and setting it's own [TargetDir] variable equal to it.

I've tried put a variable into the registry and read it out during the installation of the second program, but .NET doesn't like that either.    Is there a way to do this?

Thank you!

Question by:autigent
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
1 Comment

Accepted Solution

Svetlin_Panayotov earned 2000 total points
ID: 12408268
Check this in MSDN:
You can write small setup laucher that reads the value from the registry and passes it to the installer.


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

610 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