09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9: Configuring the Target System<br />

Editing the Registry<br />

<strong>InstallShield</strong> adds a new key with the name New Key-#n (where n is a successive number). Enter a<br />

meaningful name to rename the key, or right-click the key and select Rename to give it a new name later.<br />

Your new key is created with an empty default string value.<br />

To modify the value name and data, see Creating Registry Values.<br />

Dragging and Dropping Registry Entries to Create Registry<br />

Keys<br />

The quickest way to add registry entries to your installation project is to drag them from one of the<br />

source panes in the Registry view and drop them into one of the destination panes. When you drop an<br />

entire key onto the Destination computer’s Registry view pane, all of that key’s subkeys and values<br />

are added to the selected component or, in a InstallScript project, all of that key’s subkeys and values are<br />

added to the selected feature.<br />

Task To drag and drop a registry entry from the source computer to the destination computer:<br />

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

2. In the Feature list, select the feature with which you want to associate the new key.<br />

3. In the Destination computer’s Registry view pane, click the registry key under which you want<br />

to create your new key.<br />

4. In the Source computer’s Registry view pane, locate the key that you want to include in your<br />

installation and drag it to a destination folder in the Destination computer’s Registry view<br />

pane. If you drop an entire key onto the destination pane, all of that key’s subkeys and values are<br />

added to your installation.<br />

Using the Context Menu to Drag and Drop Keys<br />

You can use the context menu to move multiple keys and values at one time. Right-click a registry entry,<br />

drag it to a destination, and click a command on the context menu.<br />

Table 9-2: Commands Available from the Registry Entry Context Menu<br />

Option Description<br />

All keys & values Adds all selected keys, subkeys, and values.<br />

Key and its values only Adds only the selected key and the key’s values. No subkeys are added.<br />

Only this key Adds only the selected key, not any of its subkeys or values.<br />

Cancel Ends the drag and drop operation without making any changes.<br />

Importing Data From Another Machine<br />

A limitation of the drag-and-drop procedure is that it works only if the registry entries exist on your<br />

installation development system. If you have registry data from another machine, you can import that<br />

data with the Import REG Files Wizard.<br />

<strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong> ISE-1800-UG01 205

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

Saved successfully!

Ooh no, something went wrong!