Modifying the Registry

Windows Installer

Modifying the Registry

Registry keys can be written to the system registry once all selected components and their related files have been installed. The standard actions related to modifying the registry must be sequenced after the file installation standard actions because registry keys cannot be written unless the corresponding component and file have been successfully installed.

The RegisterClassInfo action accesses the Class table to register the COM class information of the installed components.

The RegisterExtensionInfo action queries the Extension table and Verb table and registers the corresponding extensions and command-verb information with the operating system.

The RegisterProgIdInfo action manages the registration of OLE ProgId information with the operating system.

The RegisterMIMEInfo action processes the MIME table to register the association between a MIME context type, the file name extension, and the CLSID.

The WriteRegistryValues action processes the Registry table and writes the keys for all components that have been either installed locally or to run from source. The Registry table allows keys to be written to the HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, and HKEY_USERS registry hives.

The RemoveRegistryValues action removes the keys that have been marked to be deleted in the Name column of the Registry table or the RemoveRegistry Table.

The RegisterTypeLibraries action processes the TypeLib table and registers the installed type libraries with the system.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.