Registry - Get Value
Gets a value from the Registry. This command obtains a value from the registry on a user's machine and assigns the value to a variable.
Optionally, you may add comments here describing the purpose of this element.
Select one of the root Registry keys.
The name of the Registry subkey.
Registry - Get Value command
The name of the subkey value, from which the value should be taken. If the name is not specified, the "(default)" subkey value will be taken.
The name of the variable , to which the Registry key value will be written.
This value will be assigned to the variable if no Registry value can be obtained.
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.
You can add a comment for this setting here.
Access a 64-bit key (KEY_WOW64_64KEY)
Checked => Enable the setup to access redirected keys in the 64-bit registry view.
It is necessary to note that if you enter read or write in the registry key HKEY_CURRENT_USER, it will be written to the user HKEY_CURRENT_USER, who launched the installation. If the user has administrator rights, the current user username and the user, who launched the installation originaluser will be the same and writing will occur direclty to HKEY_CURRENT_USER. Let's look at a situation, when the user User does not have administrator rights. In this case, it is necessary to switch into administrator mode as an administrator, for example, Administrator. Accordingly, the variable originaluser will equal User, and username will equal Administrator. The registry root HKEY_CURRENT_USER corresponds to Administrator/HKEY_CURRENT_USER. If we don’t take this situation into consideration, after the installation and launch of a program by a user User, the program won't see the data it wrote to Administrator/HKEY_CURRENT_USER. CreateInstall considers this possibility, so all calls to HKEY_CURRENT_USER are redirected to User/HKEY_CURRENT_USER for correct future functioning of the program being installed.