The RemoveRegistry table contains the registry information the application needs to delete from the system registry.
The RemoveRegistry table has the following columns.
The key for this table.
The predefined root key for the registry value.
Constant Hexadecimal Decimal Root key (none) - 0x001 -1 HKEY_CURRENT_USER
Installer sets this key while doing a per-user installation.
(none) -0x001 -1 HKEY_LOCAL_MACHINE
Installer sets this key while doing an all-users installation with ALLUSERS set to 1.
msidbRegistryRootClassesRoot 0x000 0 HKEY_CLASSES_ROOT
The installer removes the value from the HKCU\Software\Classes hive during installations in the per-user and per-machine installation context.
msidbRegistryRootCurrentUser 0x001 1 HKEY_CURRENT_USER msidbRegistryRootLocalMachine 0x002 2 HKEY_LOCAL_MACHINE msidbRegistryRootUsers 0x003 3 HKEY_USERS
The localizable key for the registry value.
The localizable registry value name.
The following string in the Name column has special significance.
String Meaning "-" The key is to be deleted, if present, with all of its values and subkeys, when the component is installed.
Note that the Registry table should be used to create or remove a registry key when the component is removed.
External key into the first column of the Component table referencing the component that controls the deletion of the registry value.
The registry information is deleted from the system registry when the corresponding component has been selected to be installed locally or run from source.
This table is referred to when the RemoveRegistryValues action is executed.