RegistryKey Element
From Windows Installer XML (WiX) v3.0
RegistryKey Element
- Description
- Used for organization of child RegistryValue elements or to create a registry key (and optionally remove it during uninstallation).
- Windows Installer references
- Registry Table
- Parents
- Component, RegistryKey
- Inner Text
- None
- Children
- Choice of elements (min: 0, max: unbounded)
- Permission (min: 0, max: unbounded): ACL permission
- PermissionEx (min: 0, max: unbounded): Can also configure the ACLs for this registry key.
- RegistryKey (min: 0, max: unbounded)
- RegistryValue (min: 0, max: unbounded)
- Any Element namespace='##other' processContents='Lax'
- Attributes
-
Name Type Description Required Action Enumeration This is the action that will be taken for this registry value. This attribute's value must be one of the following: - create
- Creates the key, if absent, when the parent component is installed.
- createAndRemoveOnUninstall
- Creates the key, if absent, when the parent component is installed then remove the key with all its values and subkeys when the parent component is uninstalled.
- none
- Does nothing; this element is used merely in WiX authoring for organization and does nothing to the final output. This is the default value.
Id String Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be generated by hashing the parent Component identifier, Root, Key, and Name. Key String The localizable key for the registry value. If the parent element is a RegistryKey, this value may be omitted to use the path of the parent, or if its specified it will be appended to the path of the parent. Root RegistryRootType The predefined root key for the registry value. - How Tos and Examples
- See Also
- Wix Schema