cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
VQuest
Level 2

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!
Labels (1)
0 Kudos
(2) Replies
Jeremy_Lloyd
Level 3

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
0 Kudos
VQuest
Level 2

Thanks, That seems to work great!!
0 Kudos