New Registry Entry Command OptionCommand Syntax:
/NewReg { [-RegKey <registry_key>] | [-RegValue <registry_value_name>] }
[-Data <registry_data>] [-64bit]Creates a new registry entry. Parameters - [-RegKey <registry_key>] - The path of the registry
key. This string should have one of the following terminators:
- "\+" - If this terminator is used, the key is to be created,
if absent, when the component is installed.
- "\-" - If this terminator is used, the key is to be deleted, if
present, with all of its values and subkeys, when the component is
uninstalled.
- "\*" - If this terminator is used, The key is to be created, if
absent, when the component is installed. Additionally, the key is to
be deleted, if present, with all of its values and subkeys, when the
component is uninstalled.
- [-RegValue <registry_value_name>] - The path of the
registry value.
- [-Data <registry_data>] - The data of the registry
value. It contains embedded the type of the value by following format:
- "#x" - The value is interpreted and stored as a hexadecimal
value (REG_BINARY).
- "#%" - The value is interpreted and stored as an expandable
string (REG_EXPAND_SZ).
- "#" - The value is interpreted and stored as an integer
(REG_DWORD).
- [-64bit] - Specifies that the component associated to this
registry entry will be created as a 64-bit component.
Example:
AdvancedInstaller.com /edit MyProject.aip /NewReg -RegValue HKUD\Software\MyKey\MyValue -Data default_value |