Read install directory from existing registry key?

Common questions about using Actual Installer.
Post Reply
chuck
Posts: 1
Joined: Tue Dec 29, 2015 10:06 pm

Read install directory from existing registry key?

Post by chuck »

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?
ggrewe
Posts: 25
Joined: Mon Nov 30, 2015 5:50 pm

Re: Read install directory from existing registry key?

Post by ggrewe »

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;

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>
Post Reply