Setting Key Paths for Components

InstallShield 2013

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

A key path is a unique registry value for each component that the Windows Installer uses to detect the component’s presence. This value must contain a file or a folder.

To set a component’s key path:

1. In the View List under System Configuration, click Registry.
2. In the Destination computer’s Registry view pane, click the registry entry that contains the registry data that you want to use for the key path.
3. In the Destination computer’s registry data pane, right-click the registry key’s value name and then click Set Key Path.

The value’s string, binary, or DWORD icon is replaced with a key icon.

To remove a component’s key path:

Right-click the key path and click Clear Key path.

Note: A component can have either one key path or one key file. If you have already set a key file or a key path for a component, you will get a warning prompt if you try to set another key path. Click Yes in the dialog box to replace the existing key file or key path with the new key path.

See Also