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

x
?
Solved

Windows Installer - using it as an Add-in installer

Posted on 2004-10-24
1
Medium Priority
?
206 Views
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!

Todd
0
Comment
Question by:autigent
[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
1 Comment
 
LVL 6

Accepted Solution

by:
Svetlin_Panayotov earned 2000 total points
ID: 12408268
Check this in MSDN:
http://msdn.microsoft.com/library/en-us/msi/setup/creating_a_patch_package.asp
And:
http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_target_location_for_a_directory.asp
You can write small setup laucher that reads the value from the registry and passes it to the installer.

Svetlin
0

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