Creates a new registry entry.

Installer software, free windows MSI creation tool
Home | Contact | Site Map |
Download Features Java Licensing Purchase Testimonials Support Forums FAQs
USER GUIDE

New Registry Entry Command Option

Command 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
© 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved.