09.12.2012 Views

InstallShield 2012 Spring Express Edition User Guide

InstallShield 2012 Spring Express Edition User Guide

InstallShield 2012 Spring Express Edition User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9: Configuring the Target System<br />

Editing the Registry<br />

Removing Registry Values<br />

Task To remove a registry value from your project:<br />

1. In the View List under Configure the Target System, click Registry.<br />

2. In the Feature list, select the feature that contains the registry value that you want to delete.<br />

3. In the Destination computer’s Registry view pane, click the registry key that has the value you<br />

want to delete. All registry values are listed in the Destination computer’s registry data pane.<br />

4. In the Destination computer’s Registry data pane, right-click the registry value that you want<br />

to remove and then click Delete.<br />

Entering Multiple Registry String Values into a Single String<br />

Task To enter multiple string values into a single string:<br />

1. In the View List under Configure the Target System, click Registry.<br />

2. In the Feature list, select the feature that should contain the registry value that you want to add.<br />

3. In the Destination computer’s Registry view pane, right-click the registry key that should<br />

contain the value that you want to add, point to New, and then click Multi-String Value. The<br />

Multi-Line String Value dialog box opens.<br />

4. Enter the value information and then click OK.<br />

In the Windows 2000/XP registry, the Type field for this entry appears as REG_MULTI_SZ, and the Data<br />

field is File Name Path.<br />

Referencing an Environment Variable in a Registry Entry<br />

With REG_EXPAND_SZ string values, you can use environment variables for paths that are stored in<br />

the registry. These entries require special formatting in order to be recognized by the operating system<br />

as environment variables. The format for a REG_EXPAND_SZ value as it appears in the registry is<br />

%TEMP%. TEMP is the standard environment variable for the TEMP directory.<br />

Task To reference an environment variable in a registry entry:<br />

1. In the View List under Configure the Target System, click Registry.<br />

2. In the Feature list, select the feature that should contain the registry value that you want to add.<br />

3. In the Destination computer’s Registry view pane, right-click the registry key that should<br />

contain the value that you want to add, point to New, and then click String Value.<br />

208 ISE-1900-UG00 <strong>InstallShield</strong> <strong>2012</strong> <strong>Spring</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!