Windows Installer - using it as an Add-in installer
Posted on 2004-10-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?