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

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

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

Chapter 7: Specifying Installation Information<br />

Configuring General Project Settings<br />

Note: The trailing backslash specifies that the final portion of the specifier is the name of a key and not a value name.<br />

Securing Files, Folders, and Registry Keys in a Locked-Down<br />

Environment<br />

<strong>InstallShield</strong> offers different ways to secure files, folders, and registry keys for end users who run your<br />

product in a locked-down environment:<br />

• Traditional Windows Installer handling—<strong>InstallShield</strong> stores permission information for your product<br />

in the LockPermissions table of the .msi database.<br />

• Custom <strong>InstallShield</strong> handling—<strong>InstallShield</strong> stores permission information for your product in the<br />

ISLockPermissions table of the .msi database. <strong>InstallShield</strong> also adds custom actions to your<br />

project.<br />

These methods enable you to assign permissions for a file, folder, or registry key to specific groups and<br />

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

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

Determining Which Option to Use<br />

The following table compares the different types of methods for setting permissions.<br />

Table 7-1: Comparison of Different Ways to Secure Objects (Files, Folders, and Registry Keys) in a Locked-Down<br />

Environment<br />

Comparison Category Explanation of Available Support<br />

Well-known security<br />

identifiers (SIDs)<br />

Localized names for<br />

SIDs<br />

Ability to deny specific<br />

permissions<br />

• Traditional Windows Installer handling—Supports a limited number of SIDs<br />

(Administrators, Everyone).<br />

• Custom <strong>InstallShield</strong> handling—Supports many SIDs (Administrators, Authenticated<br />

<strong>User</strong>s, Creator Owner, Everyone, Guests, Interactive, Local Service, Local System,<br />

Network Service, Power <strong>User</strong>s, Remote Desktop <strong>User</strong>s, and <strong>User</strong>s).<br />

• Traditional Windows Installer handling—Does not support localized names for<br />

SIDs; if you try to use a localized name, the installation fails.<br />

• Custom <strong>InstallShield</strong> handling—Supports localized names for all of the supported<br />

well-known SIDs (Administrators, Authenticated <strong>User</strong>s, Creator Owner, Everyone,<br />

Guests, Interactive, Local Service, Local System, Network Service, Power <strong>User</strong>s,<br />

Remote Desktop <strong>User</strong>s, and <strong>User</strong>s).<br />

• Traditional Windows Installer handling—Not supported. This handling lets you set<br />

specific permissions; you cannot deny permissions. Thus, you can give a user readonly<br />

access to a file. However, you cannot prevent a user from having read-only<br />

access.<br />

• Custom <strong>InstallShield</strong> handling—Supported. This option lets you indicate whether<br />

you want to deny a user or group from having the permissions that you are specifying.<br />

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

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

Saved successfully!

Ooh no, something went wrong!