This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installing files to another application's installation directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jul 16, 2008
04:20 PM
Installing files to another application's installation directory
Scenario
AppA is installed separately from AppB. AppB rquires AppA to be installed. Most of AppB files are located in its own install location, however some files need to be installed in same directory as AppA.
Install directory is configurable for both apps, but AppA saves path to a registry entry. AppB can thus know about AppA's location via registry value. The trouble is that components in the MSI Project are targeted to directory entries in MSI table (obviously).
Question
Is there any way to install some files to a location that can be obtained at run-time from registry value (via possibly a property)?
Do not want to modify the INSTALLDIR value since that is needed for the core files of AppB, just need to save some of the files to the location of AppA.
AppA is installed separately from AppB. AppB rquires AppA to be installed. Most of AppB files are located in its own install location, however some files need to be installed in same directory as AppA.
Install directory is configurable for both apps, but AppA saves path to a registry entry. AppB can thus know about AppA's location via registry value. The trouble is that components in the MSI Project are targeted to directory entries in MSI table (obviously).
Question
Is there any way to install some files to a location that can be obtained at run-time from registry value (via possibly a property)?
Do not want to modify the INSTALLDIR value since that is needed for the core files of AppB, just need to save some of the files to the location of AppA.
(1) Reply
Jul 16, 2008
05:27 PM
For the general technique, please see this newsletter tip (PDF warning): http://www.acresso.com/webdocuments/PDF/is_install_dir_from_app_search.pdf. The difference being that you'd set a Directory property other than INSTALLDIR...