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
- :
- Thanks
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2009
01:55 PM
Registry Value as Install Directory
Hello,
I am fairly new to Installshield. I just finished up developing one Installer that includes two registry values. One that is just called Install and is a DWord. The other is a string value that is called InstallPath, it contains the directory path of that program.
I am now creating a second Installer that is an Add on to the first one. Instead of having the user choose the Install Path. I want to be able to check the registry value of the first installer and use that value as the Install Directory.
Any Help would be greatly appreciated!
I am fairly new to Installshield. I just finished up developing one Installer that includes two registry values. One that is just called Install and is a DWord. The other is a string value that is called InstallPath, it contains the directory path of that program.
I am now creating a second Installer that is an Add on to the first one. Instead of having the user choose the Install Path. I want to be able to check the registry value of the first installer and use that value as the Install Directory.
Any Help would be greatly appreciated!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 25, 2009
07:17 PM
Try using a System Search for the registry key where the install path is and store that value in a property of your own name.
Then, create a Custom Action to set the INSTALLDIR property from your new property name. Please this CA in the User Interface Sequence. I have one immediately after "MigrateFeatureStates".
In my installation I use this to pick up the original installation path on an upgrade installation.
Rgds
Then, create a Custom Action to set the INSTALLDIR property from your new property name. Please this CA in the User Interface Sequence. I have one immediately after "MigrateFeatureStates".
In my installation I use this to pick up the original installation path on an upgrade installation.
Rgds
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2009
09:42 AM
Thanks, That seems to work great!!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)