MSI Factory 2.3

Add Registry Value

Add Registry Value

Previous topic Next topic  

Add Registry Value

Previous topic Next topic  

MSI Factory

Location

Root:

The registry key root.

Note: The HKEY_USER_SELECTABLE option means that if this is a per-user installation, the registry value is written under HKEY_CURRENT_USER. If this is a per-machine installation, the registry value is written under HKEY_LOCAL_MACHINE. A per-machine installation is specified by setting the ALLUSERS property to 1.

Key:

The name of the key to add. For example, "Software\My Company\My Product." You can use properties in your key name. For example, "Software\[Manufacturer]\[ProductName]." To see a list of properties that can be inserted, right click on the field and choose Insert > Property from the context menu.

Name:

The name of the value that you want to set. If left blank, it will create the "(Default)" registry name.

Value

Type:

The type of value that is being set. Choose from:

REG_SZ - A generic string value.

REG_DWORD - An integer.

REG_BINARY - A binary value. The Value is interpreted as a hexidecimal value. For example, "ff7e55000e3f."

REG_EXPAND_SZ - An expandable string. Can contain environment variables.

REG_MULTI_SZ - The value is interpreted and stored as a multiple strings. Separate each string with a "|" character. For example, "value1|value2|value3."

Append

Adds the value to the end of the REG_MULTI_SZ type registry value.

Prepend

Adds the value to the beginning of the REG_MULTI_SZ type registry value.

Write

Overwrites the value of the REG_MULTI_SZ type registry value.

Data:

The data to write out to the registry value.

Permissions

Set custom user permissions

If checked, allows you to configure specific access permissions for the value on the end user's system. Press the Edit button to open the User Permissions dialog.

Note: Any values that you add with this action will be removed from the registry during uninstall.

More Information

MSDN Online: LockPermissions Table

MSDN Online: Registry Table

WiX Help File: Permission Element

WiX Help File: RegistryValue Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us