MSI Factory 2.3

Add Registry Key

Add Registry Key

Previous topic Next topic  

Add Registry Key

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 key is written under HKEY_CURRENT_USER. If this is a per-machine installation, the registry key 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.

Action

The action to take. Choose from:

Create

Creates the key during installation but does not remove it during uninstall.

Create and remove on uninstall

Creates the key and then removes it during uninstall.

Permissions

Set custom user permissions

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

More Information

MSDN Online: LockPermissions Table

MSDN Online: Registry Table

MSDN Online: RemoveRegistry Table

WiX Help File: Permission Element

WiX Help File: RegistryKey Element


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