Registry - Set Value
Writes values into the Registry.
Optionally, you may add comments here describing the purpose of this element.
Select one of the root Registry keys.
Name of the Registry subkey.
Registry - Set Value command
Name of subkey value, in which the data will be recorded. If not specified, the subkey value will be set to "(default)".
Specify the value type.
String - A string value.
Number - The value will be listed in the Registry as a number. Value should be specified as decimal or hexadecimal.
Binary - In this case the value will be represented as a byte succession. Bytes should follow one another in hexadecimal notation.
001000a8ff67 => (0x00, 0x10, 0x00, 0xa8, 0xff, 0x67)
Expanded string - Expanded string EXPAND_STRING.
Multistrings - Strings must be separated by '|' character.
The first string|The second string
The value to be written.
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.
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.