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

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 />

4. In the Destination computer’s registry data pane, right-click the value and then click Modify.<br />

5. To enter the value data, begin with a pound sign, and then type the environment variable. The<br />

environment variable name should be surrounded by percent signs. For example: #%TEMP%.<br />

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

is %TEMP%.<br />

Configuring Permissions for Registry Keys<br />

<strong>InstallShield</strong> lets you configure settings for securing registry keys for end users who run your product in<br />

a locked-down environment. You can assign permissions for a registry key to specific groups and users.<br />

For example, you may assign Read, Write, and Delete permissions for a particular registry key to the<br />

Administrators group, but only Read permissions for all of the users in a different group.<br />

Task To configure the permissions for a registry key:<br />

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

2. In the Destination computer’s Registry view pane, right-click the registry key and then click<br />

Permissions button. The Permissions dialog box opens.<br />

3. Add, modify, and remove permissions entries as needed. For more information, see Permissions<br />

Dialog Boxes for Registry Keys.<br />

Depending on what is selected for the Locked-Down Permissions setting in the General Information<br />

view of your project, <strong>InstallShield</strong> adds permissions data to either the ISLockPermissions table or the<br />

LockPermissions table. To learn more, see Securing Files, Folders, and Registry Keys in a Locked-<br />

Down Environment.<br />

Specifying a Primary Key for the Registry Table<br />

Windows Installer requires a unique primary key for each registry key and value you add to the Registry<br />

table. To allow you to create registry entries in a completely visual environment, <strong>InstallShield</strong> assigns a<br />

unique name to every entry in the database’s Registry table at build time.<br />

You may need to know the entry’s primary key when authoring a custom action. <strong>InstallShield</strong> supports<br />

specifying a primary key on a registry key or value in the Registry view.<br />

Task To specify a primary key for a registry key or value:<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 associated with<br />

the primary key that you want to specify, and then click MSI Value. The MSI Value dialog box<br />

opens.<br />

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

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

Saved successfully!

Ooh no, something went wrong!