UnregisterClassInfo Action
The UnregisterClassInfo action manages the removal of COM class information from the system registry. It uses the AppId table.
Sequence Restrictions
The UnregisterClassInfo action must come after the InstallInitialize action and before the RegisterClassInfo action.
RemoveRegistryValues must come before UnregisterClassInfo in the sequence.
The sequencing of the actions in the following group is restricted. If any subset of these actions occur together in a sequence table, they must occur in the same relative sequence as shown in the following table:
- UnregisterClassInfo
- UnregisterExtensionInfo
- UnregisterProgIdInfo
- UnregisterMIMEInfo
- RegisterClassInfo
- RegisterExtensionInfo
- RegisterProgIdInfo
- RegisterMIMEInfo
For example, RegisterExtensionInfo must come before UnregisterClassInfo in the sequence table.
ActionData Messages
Field | Description of action data |
---|---|
[1] | GUID of unregistered COM class. |
Remarks
The installer sets the OLEAdvtSupport property to true when the current user's system has been upgraded to work with install-on-demand through COM. If the system does not support install-on-demand through COM, UnregisterClassInfo removes all COM classes listed in the Class table associated with either uninstalled features or features installed as advertised from the system registry. Otherwise, this action removes only the COM classes associated with features selected to be uninstalled from the system registry.