Skip to main content
Version: v3

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
NameTypeDescriptionRequired
ActionEnumeration 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.
 
IdString 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.  
KeyString The localizable key for the registry value.  
RootRegistryRootType The predefined root key for the registry value.  
See Also
Wix Schema