WriteRegistryValues Action

[This is preliminary documentation and subject to change.]

The WriteRegistryValues action sets up registry information that the application needs in the registry. 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 run from source.

Database Tables Queried

Registry Table

Component Table

Registry.Root Root key under which the registry value is written.
Registry.Key Key under the root.
Registry.Name Name of the value.
Registry.Value The registry value.
Component.Action Action field from the Component table for the component record corresponding to Registry.Component_. Must be either:

iisLocal = 1: Item is to be installed locally (item is currently uninstalled or installed from run from source).

iisSource = 2: Item is to be installed from run from source (item is currently uninstalled or installed locally).


Properties Used

None

Sequencing Restrictions

The InstallValidate action must come before the WriteRegistryValues action. If there is a RemoveRegistryValues action, then it must come before the WriteRegistryValues action.