RemoveRegistryKey Element

Windows Installer XML

RemoveRegistryKey Element

Description
Used for removing registry keys and all child keys either during install or uninstall.
Windows Installer references
Registry Table, RemoveRegistry Table
Parents
Component
Inner Text
None
Children
None
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:
removeOnInstall
Removes a key with all its values and subkeys when the parent component is installed.
removeOnUninstall
Removes a key with all its values and subkeys when the parent component is uninstalled.
 
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.  
Root RegistryRootType The predefined root key for the registry value.  
See Also
Wix Schema