The WriteRegistryValues action sets up an application's registry information. The registry information is gated by the Component table. A registry value is written to the registry if the corresponding component has been set to be installed either locally or as run from source. For more information, see Registry table.
A custom action can be used to add rows to the Registry table during an installation, uninstallation, or repair transaction. These rows do not persist in the Registry table and the information is only available during the current transaction. The custom action must therefore be run in every installation, uninstallation, or repair transaction that requires the information in these additional rows. The custom action must come before the RemoveRegistryValues and WriteRegistryValues actions in the action sequence.
|Field||Description of action data|
|||Path to registry key of value written to registry.|
|||Formatted text string name of value written to registry.|
|||Formatted text string of value written to registry.|