RemoveRegistry Table
The RemoveRegistry table contains the registry information the application needs to delete from the system registry.
The RemoveRegistry table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
RemoveRegistry | Identifier | Y | N |
Root | Integer | N | N |
Key | RegPath | N | N |
Name | Formatted | N | Y |
Component_ | Identifier | N | N |
Columns
-
RemoveRegistry
-
The key for this table.
-
Root
-
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_MACHINEInstaller sets this key while doing an all-users installation with ALLUSERS set to 1. msidbRegistryRootClassesRoot 0x000 0 HKEY_CLASSES_ROOTThe 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 -
Key
-
The localizable key for the registry value.
-
Name
-
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.
-
Component_
-
External key into the first column of the Component table referencing the component that controls the deletion of the registry value.
Remarks
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.
Validation