Creating Registry Values

InstallShield 2016 Express Edition

To create a new registry value:

1. In the View List under Configure the Target System, click Registry.
2. In the Feature list, select the feature that contains the registry key to which you want to add a value.
3. In the Destination computer’s Registry view pane, right-click the key to which you want to add a value, point to New, and then click the type of data that you want to register. Available types of registry values are as follows:

Types of Registry Values

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.

Tip • If you are creating a 64-bit installation and you want to install registry entries to 64-bit registry locations (under HKEY_LOCAL_MACHINE\Software instead of HKEY_LOCAL_MACHINE\Software\Wow6432Node), add the entry to the SOFTWARE (64-Bit) node, or a subnode. Note that a 64-bit installation cannot be run on 32-bit target systems. To learn more, see Challenges of Supporting Both 32-Bit and 64-Bit Target Operating Systems.

See Also