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

Using Environment Variables<br />

<strong>InstallShield</strong> removes the corresponding row from the ODBC Attributes & Properties pane.<br />

Using Environment Variables<br />

Environment variables are name and value pairs that can be set on the target system with your<br />

installation and can be accessed by your application and by other running programs. Environment<br />

variables are stored in the registry.<br />

In the Environment Variables view, you can create new environment variables, modify the values of<br />

existing variables, and remove variables. The environment variable creation, modification, or removal<br />

takes place when your application is installed—depending on the properties that you set for the<br />

environment variable when you added it to your project.<br />

Setting Environment Variables<br />

Task To create a new environment variable or modify the value of an existing environment variable:<br />

1. Open the Environment Variables view.<br />

2. Right-click the Environment Variables explorer and click Add Environment Variable.<br />

<strong>InstallShield</strong> adds a variable with the name NewEnvironmentn (where n is a successive number).<br />

3. Type the name of the variable that you want to modify, remove, or create.<br />

4. Edit the properties of the environment variable.<br />

Per-<strong>User</strong> vs. Per-Machine Installations<br />

Two Windows Installer properties, along with the current user’s privileges, affect where the<br />

configuration information such as your product’s shortcuts and registry entries are stored on a target<br />

machine—to the All <strong>User</strong>s profile or the current user’s profile:<br />

• ALLUSERS determines where the configuration information is stored.<br />

• MSIINSTALLPERUSER indicates that the Windows Installer should install the package for only the<br />

current user.<br />

The MSIINSTALLPERUSER property is available with Windows Installer 5 and on Windows 7 or<br />

Windows Server 2008 R2. Earlier versions of Windows Installer and Windows ignore this property.<br />

ALLUSERS, MSIINSTALLPERUSER, and Windows 7 or Windows Server 2008 R2<br />

If the ALLUSERS property is set to 2 and MSIINSTALLPERUSER is set to 1, the Windows Installer<br />

performs a per-user installation.<br />

218 ISE-1800-UG01 <strong>InstallShield</strong> <strong>2012</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!