Creating Registry Values
Project:This information applies to the following project types:
• | Basic MSI |
• | DIM |
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
• | Merge Module |
• | MSI Database |
• | MSM Database |
• | Transform |
• | QuickPatch |
To specify a registry value to be created on the target system:
1. | In the View List under System Configuration, click Registry. |
2. | In the Destination computer’s Registry view pane, click the key to which you want to add a value. All existing registry values for that key are listed in the Destination computer’s registry data pane. |
3. | Right-click in the list of values and then click the type of data you want to register. Available options are as follows: |
Option |
Description |
Default Value |
The key’s default value. |
String Value |
A fixed-length text string. |
Binary Value |
The value is interpreted and stored as a hexadecimal value. |
DWORD Value |
Data represented by a number that is four bytes (32 bits) long. |
Multi-String Value |
Multiple text strings formatted as an array of null-terminated strings, and terminated by two null characters. Selecting this command launches the Multi-Line String Value dialog box. |
Expandable String Value |
The value is interpreted and stored as an expandable string. According to the Microsoft Developer Network (MSDN), an expandable string registry value is a null-terminated string that contains unexpanded references to environment variables (for example, %PATH%). |
InstallShield adds a new value with the name New Value n (where n is a successive number). Enter a meaningful name now to rename the value, or right-click the value name and then click Rename to give it a new name later.
Project:In Basic MSI, DIM, InstallScript MSI, Merge Module, MSI Database, MSM Database, Transform, and QuickPatch projects, any registry value can serve as the component’s key path.