Read install directory from existing registry key?
Read install directory from existing registry key?
I want to install my files into a directory location I pull from an existing registry key. Can't figure out where the magic is... can you point me in the right direction?
Re: Read install directory from existing registry key?
Chuck,
In the "System" Section, there is a "Variables" tab. Create your custom variable here and populate that value from the Registry. Or, if you are trying to set the "<InstallDir>" for your installation to the value already in the Registry, add a new Variable like so;
In the "System" Section, there is a "Variables" tab. Create your custom variable here and populate that value from the Registry. Or, if you are trying to set the "<InstallDir>" for your installation to the value already in the Registry, add a new Variable like so;
Code: Select all
Variable: <InstallDir>
Registry Bitness: 32-bit
Registry Key: HKLM\Software\<CompanyName>\<AppName>
Registry Value: InstallPath
Value Type: STRING
Default Data: <ProgramFiles>\<CompanyName>\<AppName>