You are on page 1of 42

InstallShield 2010 Express Edition

Evaluator Guide

InstallShield 2010 Express Edition Evaluator Guide


Part Number: ISE-1600-EG01 Product Release Date: 18-June-2009

Copyright Notice
Copyright 20062010 Flexera Software, Inc. and/or InstallShield Co. Inc. All Rights Reserved. This product contains proprietary and confidential technology, information and creative works owned by Flexera Software, Inc. and/or InstallShield Co. Inc. and their respective licensors, if any. Any use, copying, publication, distribution, display, modification, or transmission of such technology in whole or in part in any form or by any means without the prior express written permission of Flexera Software, Inc. and/or InstallShield Co. Inc. is strictly prohibited. Except where expressly provided by Flexera Software, Inc. and/or InstallShield Co. Inc. in writing, possession of this technology shall not be construed to confer any license or rights under any Flexera Software, Inc. and/or InstallShield Co. Inc. intellectual property rights, whether by estoppel, implication, or otherwise. All copies of the technology and related information, if allowed by Flexera Software, Inc. and/or InstallShield Co. Inc., must display this notice of copyright and ownership in full.

Trademarks
Flexera Software, AdminStudio, FLEXnet Connect, InstallShield, InstallShield Developer, InstallShield DevStudio, InstallShield Professional, OneClickInstall, and QuickPatch are registered trademarks or trademarks of Flexera Software, Inc. and/or InstallShield Co. Inc. in the United States of America and/or other countries. All other brand and product names mentioned herein are the trademarks and registered trademarks of their respective owners.

Restricted Rights Legend


The software and documentation are commercial items, as that term is defined at 48 C.F.R. 2.101, consisting of commercial computer software and commercial computer software documentation, as such terms are used in 48 C.F.R. 12.212 or 48 C.F.R. 227.2702, as applicable. Consistent with 48 C.F.R. 12.212 or 48 C.F.R. 227.2702-1 through 227.7202-4, as applicable, the commercial computer software and commercial computer software documentation are being licensed to U.S. government end users (A) only as commercial items and (B) with only those rights as are granted to all other end users pursuant to the terms and conditions set forth in the Flexera Software standard commercial agreement for this software. Unpublished rights reserved under the copyright laws of the United States of America.

Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About This Evaluator Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 About InstallShield 2010 Express Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Upgrade Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Installing InstallShield 2010 Express Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Evaluating InstallShield 2010 Express Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Using the InstallShield 2010 Express Edition Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Start Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Project Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Installation Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Selecting a Project Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Tutorial on Support for Windows 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9


Part A: Creating a New Express Project in InstallShield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Part B: Targeting Windows 7 Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Part C: Adding Files to Your Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Part D: Creating Log Files for Installations that Are Run with Windows Installer 4.0 or Later . . . . . . . . . . . . . 13 Part E: Specifying Whether the .msi File Requires Administrative Privileges . . . . . . . . . . . . . . . . . . . . . . . . . 16 Part F: Specifying the Required Execution Level for the Setup Launcher . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Part G: Building a Release . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Part H: Running the Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Walkthrough of Additional InstallShield Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23


Part A: Working with the Redistributables View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Part B: Managing Internet Information Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Part C: Setting Permissions for Files, Folders, and Registry Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

iii

Contents

Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

iv

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

1
Introduction
About This Evaluator Guide
This evaluator guide introduces evaluators and reviewers to key functionality of InstallShield 2010 Express Edition. It provides information about and instructions for using some of its new features. This guide also provides references to additional resources that offer more detailed information about the product.

About InstallShield 2010 Express Edition


InstallShield 2010 Express Edition contains many new features and enhancements. It also contains support for the latest technology.

New Features
InstallShield 2010 Express Edition includes the following new features.

Ability to target Windows 7 and Windows Server 2008 R2 systems Windows 7 and Windows Server 2008 R2 support for displaying installation progress on the taskbar Beta Windows Installer 5 support for per-user installations Beta Windows Installer 5 support for reducing the time for installing large packages New support for setting permissions for files, folders, and registry keys New InstallShield prerequisites for Windows Installer, .NET Framework, Crystal Reports, and other redistributables SQL Server Compact Edition 3.5 SP1 support now available for mobile devices Ability to add IIS Web applications to Web sites without virtual directories New FLEXnet Connect 11.6 redistributables available

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

Chapter 1: Introduction Upgrade Overview

Enhancements
InstallShield 2010 Express Edition includes the following enhancements.

Usability enhancements for the following views: Redistributables, Internet Information Services, and General Information Predefined system searches for the .NET Framework and Internet Explorer 8

For More Information about InstallShield 2010 Express Edition


For details about the features and enhancements in InstallShield 2010 Express Edition, see the InstallShield 2010 Express Edition release notes and the InstallShield Help Library. The Whats New in InstallShield 2010 Express Edition help topic in the InstallShield Help Library has descriptions of all of the features and enhancements; it also has links to help topics that contain more detailed information.

Upgrade Overview
If you use InstallShield 2010 Express Edition to open a project that was created with an earlier version, InstallShield 2010 Express Edition displays a message box that asks you if you want to convert the project to the new version. If you reply that you do want to convert it, InstallShield creates a backup copy of the project with a file extension such as .768 before converting it. Delete the .768 part from the original projects file name if you want to reopen the project in the earlier version of InstallShield. Note that you cannot open InstallShield 2010 Express Edition projects in earlier versions of InstallShield Express Edition. You can upgrade projects that were created with the following versions of InstallShield Express Edition to InstallShield 2010 Express Edition: InstallShield 2009 Express Edition and earlier, InstallShield 12 Express Edition and earlier, and InstallShield Express 5 and earlier. Note that projects that were created with InstallShield MultiPlatform or InstallShield Universal cannot be upgraded to InstallShield 2010 Express Edition. For more detailed information on upgrading projects, see Knowledge Base article Q200852.

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

2
Getting Started
Installing InstallShield 2010 Express Edition
If you obtain a download version of InstallShield 2010 Express Edition, you can install it by doubleclicking the executable file. If you obtain the DVD version of InstallShield 2010 Express Edition, place the DVD into your DVD drive. The DVD Browser that is automatically displayed has links for installing InstallShield 2010 Express Edition, viewing the release notes, and opening InstallShield 2010 Express Edition documentation. It also has links to additional installations. For example, it includes links to the redistributable files for many InstallShield prerequisites.

Evaluating InstallShield 2010 Express Edition


If you have not purchased a license for InstallShield, you can install it and use it for a limited number of days without activating it. When you use InstallShield before activating it, it operates in evaluation mode, and some of its functionality is not available. For details, see KB article Q200900 (http://support.installshield.com/kb/view.asp?articleid=Q200900). Note that when you activate InstallShield, the evaluation limitations are removed.

Using the InstallShield 2010 Express Edition Interface


InstallShield 2010 Express Edition has three main work areas: the Start Page, the Project Assistant, and the Installation Designer. You can navigate from one section to the other easily, using the tabs at the top of the interface and other embedded links.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

Chapter 2: Getting Started Using the InstallShield 2010 Express Edition Interface

Start Page
The Start Page provides both new and experienced users with quick access for launching recently opened projects, creating new ones, or learning more about various aspects of installation creation.

Figure 2-1: Start Page

The Start Page includes the following sections:


Table 2-1: Sections on the Start Page Section Project Tasks Description Click a project task to quickly create a new project, open an existing project, or browse to one of the sample projects included with the InstallShield installation. Frequently accessed help topics are listed in this section. To access the entire InstallShield Help Library from the Start Page, press F1 or click the Help Library link in the Resources section. The section in the middle of the Start Page lists your most recently accessed projects, the project types, and the dates on which they were last modified.

Help Topics

(Recently Opened Projects)

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 2: Getting Started Using the InstallShield 2010 Express Edition Interface

Table 2-1: Sections on the Start Page (cont.) Section Getting Started Description Click the Getting Started heading for guidance on what areas of the InstallShield Help Library to read, based on your level of experience with InstallShield and installation-authoring tools. The Resources section contains a number of links to connect you to helpful InstallShield information.

Resources

Help LibraryDisplays the InstallShield documentation. InstallShield CommunityProvides a Web-based forum where you can join other InstallShield users, post questions, and search for answers. WebinarsDirects you to free Web-based seminars that help you evaluate InstallShield and gain the most from your Flexera Software products. DownloadsOffers a place where you can download the latest InstallShield merge modules, objects, and setup prerequisites; service packs; patches; and more for the version of InstallShield that you are using. Release NotesConnects you to the release notes that are posted to the Knowledge Base on the Flexera Software Web site. Known IssuesDisplays the Knowledge Base article that lists the known issues for the version of InstallShield that you are using and provides information about workarounds and resolutions. Upgrade AlertsDisplays the Knowledge Base article that provides information about possible issues that may occur when you upgrade projects that were created with earlier versions of InstallShield to InstallShield 2010 Express Edition. It also alerts you to possible changes in behavior that you may notice between new InstallShield 2010 Express Edition projects and projects that are upgraded from earlier versions. RSS Feeds of KB ArticlesDirects you to the Web page where you can subscribe to RSS feeds of InstallShield Knowledge Base articles.

Contact Us

To access the Support area of the Flexera Software Web site or join the Customer Experience Improvement Program, click one of the links listed in this section.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

Chapter 2: Getting Started Using the InstallShield 2010 Express Edition Interface

Project Assistant
The Project Assistant helps you quickly and easily build a basic project by providing a simplified view of project tasks. The navigation links at the bottom of each page in the Project Assistant guide you through the creation process. Each page focuses solely on each task, and provides pertinent information along the way. Many users with straightforward installation requirements are able to build their project completely within the Project Assistant. Even users with complex design needs can get a quick start on their installation authoring by beginning with the Project Assistant; this helps them walk through the basic aspects of their project creation before they move on to the Installation Designer and the added flexibility that it provides.

Figure 2-2: Project Assistant

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 2: Getting Started Using the InstallShield 2010 Express Edition Interface

Installation Designer
The Installation Designer displays all of the views in the InstallShield interface that are available for your project type. Here you can add more complex and powerful elements to your project. You can create your project using the Project Assistant and then use the Installation Designer to fine-tune project elements. The Installation Designer and the Project Assistant run simultaneously. Any changes made in one are reflected instantly in the other. For example, if you remove a feature while in the Installation Designer, that feature is no longer present in your project and does not appear in the Project Assistant. The Installation Designer has installation task groups, simplified drag-and-drop views, and more. For detailed information about each of the InstallShield views, refer to the InstallShield Help Library. You can press F1 from any view to see the help library topic that pertains to that view.

Figure 2-3: Installation Designer with the View List Displayed on the Left

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

Chapter 2: Getting Started Selecting a Project Type

Selecting a Project Type


InstallShield enables you to create different types of installation projects. Deciding which project type is right for you depends upon your experience with InstallShield software and installation development and on your installation and deployment needs. When you are creating a new project, you can select one of the project types that are available in the New Project dialog box.

Figure 2-4: New Project Dialog Box

InstallShield offers a number of different project types to assist you in creating the optimal project for your end users:

Express ProjectAn Express project uses Windows Installer to provide the user interface for the installation. When you choose this project type, you need to create features and specify all application files and other distributable data. Visual Basic 6.0 WizardSelect this option to launch the Visual Basic Wizard. QuickPatch ProjectThis project type is recommended for installation authors who want to ship

small, single updates to their end users.


Visual Basic .NET WizardSelect this option to launch the Visual Studio .NET Wizard for Visual Basic .NET, Visual C++ .NET, and C# .NET. Visual C++ .NET WizardSelect this option to launch the Visual Studio .NET Wizard for Visual Basic

.NET, Visual C++ .NET, and C# .NET.


C# .NET WizardSelect this option to launch the Visual Studio .NET Wizard for Visual Basic .NET,

Visual C++ .NET, and C# .NET.


Smart Device Setup WizardThe Smart Device Setup Wizard guides you through the process of creating straight-to-smart-device installations that do not use a desktop component. Note that if you want to create a mobile device installation that uses a desktop component such as Microsoft ActiveSync or Palm HotSync, you can use the Express type of project.

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

3
Tutorial on Support for Windows 7
This section of the InstallShield 2010 Express Edition Evaluator Guide contains step-by-step procedures that introduce you to a few features in InstallShield 2010 Express Edition, as well functionality related to Windows 7. The instructions lead you through the creation of an Express project for Othello, an application whose files are installed to the InstallShield Program Files folder.

Part A: Creating a New Express Project in InstallShield


In Part A, you will create a new Express project.

Task

To create a new Express project: 1. 2. 3. 4.

On the File menu, click New. The New Project dialog box opens. Click Express Project. In the Project Name box, type Othello. Click OK.

InstallShield creates an Express project and displays the Project Assistant.

Part B: Targeting Windows 7 Systems


In Part B, you will specify that the installation for the project that you created in Part A requires Windows 7 on the target machine. Note that often it is not necessary to specify that an installation requires a specific version of Windows. Thus, you might want to skip the following procedure for your products installation.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

Chapter 3: Tutorial on Support for Windows 7 Part B: Targeting Windows 7 Systems

Task

To specify that the Othello installation requires Windows 7: 1. 2. 3.

In the navigation at the bottom of the Project Assistant, click Installation Requirements. For the Does your application require any specific operating systems question, click Yes. Clear all of the check boxes except the Windows 7 check box.

Figure 3-1: Installation Requirements Page of the Project Assistant 4.

On the toolbar, click the Save button.

Tip: InstallShield also enables you to create operating system requirements for features and custom actions. If a particular operating system condition is not met on a target system, the corresponding feature is not installed or the corresponding custom action is not launched. Use the Features view or the Custom Actions view to create this type of condition.

10

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 3: Tutorial on Support for Windows 7 Part C: Adding Files to Your Project

Part C: Adding Files to Your Project


In Part C, you will add the Othello application files to your Othello installation project.

Task

To add the Othello application files: 1. 2. 3.

Click the Installation Designer tab. In the View List, under Specify Application Data, click Files. In the Source computers folders pane, select the folder that contains the Othello application files (blank.gif, blue.gif, Othello.exe, and red.gif) that are installed with InstallShield. The default location for these files is:
C:\Program Files\InstallShield\2010\Samples\WindowsInstaller\Basic Installation Project\DataFiles

4. 5.

In the Destination computers folders pane, select My Product Name [INSTALLDIR]. In the Source computers files pane, select each of the files and drag them to the Destination computers files pane.

Figure 3-2: Files View

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

11

Chapter 3: Tutorial on Support for Windows 7 Part C: Adding Files to Your Project

Tip: Note the following functionality for the Files view:

You can right-click a file in the Destination computer's files pane and then click the new Open Containing Folder command. Doing so opens a Windows Explorer window and displays the folder that contains the file that you rightclicked. An Add command is available when you right-click the Destination computer's files pane. Use this command to display an Open dialog box that lets you browse to the file that you want to add to your project. The upper-right corner of this view has a link (either Show Source Panes or Hide Source Panes). Use this link to show or hide the two top panesthe Source computer's folders pane and the Source computer's files panein this view. You can hide the two panes, open a Windows Explorer window, and drag and drop files from the Windows Explorer window to the two remaining panes in InstallShield.

12

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 3: Tutorial on Support for Windows 7 Part D: Creating Log Files for Installations that Are Run with Windows Installer 4.0 or Later

Part D: Creating Log Files for Installations that Are Run with Windows Installer 4.0 or Later
InstallShield provides support for the option to easily log installations that are run with Windows Installer 4.0 or later on a project-wide basis without having to use the command line or configure log parameters through the registry. For Part D, you will specify that the Othello installation should be logged. You will also customize the types of messages that are logged.

Task

To specify that the Othello installation should be logged each time that Windows Installer 4.0 or later is used to run it: 1. 2. 3.

In the View List under Organize Your Setup, click General Information. Click the Create MSI Logs setting, and then click the ellipsis button (...). The Logging Options for Windows Installer 4.0 and Later dialog box opens. Select the Yes (MsiLogging set to default value of voicewarmupx) option.

Figure 3-3: Logging Options for Windows Installer 4.0 and Later Dialog Box 4.

Click OK.

InstallShield sets the Create MSI Logs setting to Yes and populates the MsiLogging property with the default value of voicewarmupx.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

13

Chapter 3: Tutorial on Support for Windows 7 Part D: Creating Log Files for Installations that Are Run with Windows Installer 4.0 or Later

Figure 3-4: Create MSI Logs Setting in the General Information View

If the installation is run on a target system that has Windows Installer 4.0 or later, the installer creates a log file and populates the MsiLogFileLocation property with its path. In addition, a Show the Windows Installer log check box is added to the SetupCompleteSuccess, SetupCompleteError, and SetupInterrupted dialogs.

Figure 3-5: SetupCompleteSuccess Dialog with the Windows Installer Log Check Box

14

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 3: Tutorial on Support for Windows 7 Part D: Creating Log Files for Installations that Are Run with Windows Installer 4.0 or Later

Tip: To customize the types of messages that are logged: 1. 2. 3. Click the Create MSI Logs setting, and then click the ellipsis button (...). The Windows Installer 4 Logging Options dialog box opens. Select the Custom MsiLogging value option, and then enter the MsiLogging value that you want to use. Click OK.

For a list of the available parameters for the MsiLogging property, see MsiLogging Property in the Windows Installer help (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/msilogging.asp).

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

15

Chapter 3: Tutorial on Support for Windows 7 Part E: Specifying Whether the .msi File Requires Administrative Privileges

Part E: Specifying Whether the .msi File Requires Administrative Privileges


InstallShield includes a Require Administrative Privileges setting that lets you specify whether your .msi package requires administrative privileges for the Execute sequence of your installation. The default is Yes. If administrative privileges are required, Windows Vista or later may display a User Account Control (UAC) prompt for consent or credentials at run time when Windows Installer reaches the Execute sequence. Note that if you select No but your .msi package tries to perform a task for which it does not have adequate privileges, Windows Installer may display a run-time error. For Part E, you will ensure that administrative privileges are required for Othello. This enables end users to install Othello for all users on a target machine.

Task

To specify that administrative privileges are required for the Othello installation: 1. 2.

In the View List, under Organize Your Setup, click General Information. For the Require Administrative Privileges setting, select Yes.

Figure 3-6: Require Administrative Privileges Setting in the General Information View

16

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 3: Tutorial on Support for Windows 7 Part F: Specifying the Required Execution Level for the Setup Launcher

Part F: Specifying the Required Execution Level for the Setup Launcher
To support UAC functionality on Windows Vista and later systems, InstallShield lets you specify the minimum execution level required by your installations Setup.exe file for running the installation (the setup launcher, any setup prerequisites, and the .msi file) on Windows Vista and later. You can configure this for each individual release in your project. InstallShield embeds an application manifest in the Setup.exe launcher. This manifest specifies the selected execution level. Operating systems earlier than Windows Vista ignore the required execution level. If you do not include a setup launcher with your installation, InstallShield does not embed the application manifest in the Setup.exe launcher.

Tip: To learn more about how the manifest and other InstallShield settings affect whether Windows Vista and later display a UAC prompt to elevate privileges, see Minimizing the Number of User Account Control Prompts During Installation in the InstallShield Help Library.

For Part F, you will specify for the Othello release that a setup launcher is required but that the Windows Installer engine is not. You will also configure this release so that the Setup.exe file is run with the least privileges.

Task

To specify the setup launcher requirements and the required execution level for a release: 1. 2. 3. 4.

In the View List under Prepare for Release, click Releases. In the Builds explorer, click the SingleImage release. Click the Setup.exe tab. For the Setup Launcher setting, select Yes (no MSI engine included). The Othello installation targets Windows 7 machines, which already have Windows Installer 5. Therefore, it is not necessary to include a Windows Installer engine with the Othello release.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

17

Chapter 3: Tutorial on Support for Windows 7 Part F: Specifying the Required Execution Level for the Setup Launcher

5.

For the Required Execution Level setting, select Invoker.

Figure 3-7: Required Execution Level Setting in the Releases View

The available options for the Required Execution Level setting are:

AdministratorSetup.exe requires administrative privileges to run. Administrators must authorize it; non-administrators must authenticate as an administrator. Highest availableSetup.exe prefers administrative privileges. Administrators must authorize it;

non-administrators run it without administrative privileges.


InvokerSetup.exe does not require administrative privileges, and all users can run it without administrative privileges. Setup.exe does not display any UAC messages prompting for credentials or for consent. This is the default option.

The benefit of elevating the required execution level is that privileges can be elevated only once if necessary to run Setup.exe, and that these privileges can be carried over to all of the installations prerequisites and the .msi file without requiring multiple prompts for approval. Thus, if two of your prerequisites require administrative privileges, for example, you can change this setting to Administrator, and then end users are prompted only once during the installation, before Windows Installer runs the Setup.exe file.

18

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 3: Tutorial on Support for Windows 7 Part G: Building a Release

Important: If your installation elevates privileges and also launches the application at the end of the installation, the elevated privileges are carried over to the application. In most cases, running an application with elevated privileges on Windows Vista and later is discouraged. If elevated privileges are needed for your installation but not your application, your installation should not launch the application.

Note that an end users installation experience is more secure when installations are run with only the permissions that they need. Unless an application is designed to be run only by system administrators, it should be run with the least privilege.

Part G: Building a Release


Once you have designed your project in InstallShield, you are ready to build the release. InstallShield offers different methods for building a release:

Use the Releases view. Use ISCmdBld.exe from the command line.

For Part G, you will use the Releases view to build a SingleImage release.

Task

To build the Othello release through the Releases view: 1. 2.

In the View List under Prepare for Release, click Releases. In the Builds explorer, right-click the SingleImage release and click Build.

InstallShield builds the release. The Output window opens across the bottom of the InstallShield user interface. This window also provides information about your project during project conversion. The following tabs appear in the Output window:
Table 3-1: Output Window Tabs Tab Output Description Stores distribution output information and displays build output; a link to the output file saved as a text file is included. This tab also displays project conversion information. Tasks Provides descriptions of error and warning codes when you build your project; each error or warning code is a link to a Knowledge Base article.

Tip: The Output window or its individual tabs can be docked to any side of the workspace in InstallShield, or they can be dragged to free-floating positions. If you drag the Output window or one of its tabs to the edge of the InstallShield interface, it becomes a docked window. If you drag the Output window or one of its tabs away from any of the edges of the InstallShield interface, it becomes undocked.
InstallShield 2010 Express Edition Evaluator Guide ISE-1600-EG01 19

Chapter 3: Tutorial on Support for Windows 7 Part G: Building a Release

Figure 3-8: Releases View and Output Window

Tip: To learn more about building releases, including details about how to use the command line, see the Building, Testing, and Distributing Installations section in the InstallShield Help Library.

20

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 3: Tutorial on Support for Windows 7 Part H: Running the Installation

Part H: Running the Installation


For Part H, you will run the Othello installation on a Windows 7 system.

Task

To install Othello: 1. 2. 3.

On the toolbar, click the Open Release Folder button. InstallShield opens the folder that contains the built installation. Copy all of the files from the installation to the Windows 7 system or to a network folder that can be accessed from the Windows 7 system. Double-click the Setup.exe file of the installation.

The Othello installation launches. The Install button on the Ready to Install dialog has the User Account Control (UAC) shield icon when the installation is run on Windows 7 systems and the installation is not yet running with elevated privileges.

Figure 3-9: Ready to Install Dialog with the UAC Shield Icon on the Install Button

Tip: Installations that are run on Windows 7 and Windows Server 2008 R2 now show a progress bar on the Windows taskbar during file transfer. This applies to installations that display billboards that were configured in the Billboards view. To learn how to add billboards to a project, see the Displaying Billboards section of the InstallShield Help Library. Note that a progress bar is not displayed on the taskbar on earlier versions of Windows. It is also not displayed during setup initialization or while InstallShield prerequisites are being installed.

Note: InstallShield is run with elevated privileges. Therefore, if you launch your installation from within InstallShield on a Windows 7 system, it has elevated privileges, and the UAC shield icon is not displayed on the Ready to Install dialog.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

21

Chapter 3: Tutorial on Support for Windows 7 Part H: Running the Installation

22

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

4
Walkthrough of Additional InstallShield Features
This section of the InstallShield 2010 Express Edition Evaluator Guide walks you through some of the additional InstallShield features that are not included in the tutorial in Chapter 3. You can use the Othello project that you created in the Chapter 3 tutorial as you learn about these additional features.

Part A: Working with the Redistributables View


Several of the views in InstallShield have been enhanced to improve productivity and usability. For example, several views contain new toolbars that make options easier to find. Some of the views that contain grids let you customize how the rows in a grid are organized. Searches are performed more quickly in the views that offer search capabilities. The Redistributables view is one example of a view that has been enhanced in InstallShield. The new toolbar and the new group box area in this view provide robust search and organizational functionality. Part A of this walkthrough explains different ways to customize the Redistributables view.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

23

Chapter 4: Walkthrough of Additional InstallShield Features Part A: Working with the Redistributables View

Searching in the List of Redistributables


If you are trying to find a particular redistributable, you can type part of the redistributables name in the toolbars search box, and InstallShield hides all of the redistributables that do not contain it. The searches are dynamic; that is, as you type a string in the search box, InstallShield filters the redistributables in the view, enabling you to quickly find what you are looking for.

Figure 4-1: Dynamic Searches in the Redistributables View

Working with the Group Box Area


The area below the toolbar buttons but above the list of redistributables is a group box area. Use this group box area to group rows in the view. The view supports multiple levels of grouping simply by dragging the column headings and dropping them onto the group box. InstallShield displays the rows in the view hierarchically according to column arrangement in the group box. Note the following tips for working with the group box:

To move a column header to the group box area, drag the column header and drop it onto the group box. To copy a column header onto the group box area, press CTRL while dragging the column header and dropping it onto the group box. When you do this, the column header is displayed as a column header, and in the group box. When you are dropping group box headers onto the group box area, you can drop them onto other column headers. This enables you to organize rows hierarchically. To remove a column header from the group box, drag it from the group box area and drop it onto the row of column headers. When you are dragging it over the row of column headers, InstallShield displays arrows to indicate where in the row the column header would be displayed if you dropped it.
ISE-1600-EG01 InstallShield 2010 Express Edition Evaluator Guide

24

Chapter 4: Walkthrough of Additional InstallShield Features Part A: Working with the Redistributables View

To sort the items in the grid by a particular column header, click the column header in the group box or in the row of column headers.

The following examples demonstrate different ways for using the group box to organize content in the Redistributables view. Default Behavior: Empty Group Box Area By default, no column headers are displayed in the group box. The following screen shot shows part of the Redistributables view. Items are sorted by the Name column.

Figure 4-2: Empty Group Box Area

Grouping by One Column Header If you press CTRL while dragging and dropping one column header onto the group box, InstallShield arranges the rows in the grid into groups of items. The following screen shot shows part of the Redistributables view. Rows are organized to help identify the redistributables that have been added to the project (that is, the redistributables whose check box is selected).

Figure 4-3: Grouping Rows by One Column Header

Tip: Earlier versions of InstallShield included a right-click command called Show Only Selected Items. If you right-clicked a redistributable in this view and then clicked Show Only Selected Items, InstallShield displayed only the items that were included in your project. Note that the Show Only Selected Items command is no longer available in the Redistributables view, since the new group box area now provides similar filtering functionality.
InstallShield 2010 Express Edition Evaluator Guide ISE-1600-EG01 25

Chapter 4: Walkthrough of Additional InstallShield Features Part A: Working with the Redistributables View

Grouping by Two Column Headers If you press CTRL while dragging and dropping one column header onto another column header in the group box, InstallShield arranges the rows in the grid into multiple groups of items. The following screen shot shows part of the Redistributables view. Rows are organized to help identify the InstallShield prerequisites and merge modules that have been added to the project.

Figure 4-4: Sorting Rows by the Check Box Column and Then the Type Column

26

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 4: Walkthrough of Additional InstallShield Features Part B: Managing Internet Information Services

Part B: Managing Internet Information Services


The Internet Information Services view in InstallShield is where you can specify IIS settings that you want to be configured on the target system during an installation. This view has been improved:

This view now lets you add IIS Web applications to Web sites. This view also lets you create a virtual directory without an application. Previously whenever you created a virtual directory, an application was also created automatically. The view has been redesigned to look similar to IIS 7: the settings are now displayed in grids, instead of on tabs. The grids have buttons that let you sort the grid settings by category or alphabetically. When you select a setting in one of the grids in this view, InstallShield displays help information for that setting in the lower-right pane.

Figure 4-5: Improved Internet Information Services View

Task

To add to your project an IIS application without a virtual directory: 1. 2.

In the View List under Configure the Target System, click Internet Information Services. Right-click the Web Sites explorer and click Add Web Site. InstallShield adds a new Web site.
ISE-1600-EG01 27

InstallShield 2010 Express Edition Evaluator Guide

Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys

3. 4. 5.

Select the Web site and configure its settings in the right pane. Right-click the Web site and click New Application. InstallShield adds a new application. Select the application and configure its settings in the right pane.

Note: You can create more than one application or virtual directory per Web site for your installation. However, you can create only one Web site per installation in InstallShield Express Edition. InstallShield Premier Edition and InstallShield Professional Edition support the creation of more than one Web site per installation.

Part C: Setting Permissions for Files, Folders, and Registry Keys


InstallShield offers different ways to secure files, folders, and registry keys for end users who run your product in a locked-down environment:

Traditional Windows Installer handlingInstallShield stores permission information for your product

in the LockPermissions table of the .msi database.


Custom InstallShield handlingWith this new method, InstallShield stores permission information for your product in the ISLockPermissions table of the .msi database. InstallShield also adds custom actions to your project.

These methods enable you to assign permissions for a file, folder, or registry key to specific groups and users. For example, you may assign Read, Write, and Delete permissions for a particular file to the Administrators group, but only Read permissions for all of the users in a different group. For Part C, you will learn more about the two different handling options. You will also configure permissions for a file or folder, as well as for a registry key.

28

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys

Determining Which Option to Use


The following table compares the different types of methods for setting permissions.
Table 4-1: Comparison of Different Ways to Secure Objects (Files, Folders, and Registry Keys) in a Locked-Down Environment Comparison Category Well-known security identifiers (SIDs) Explanation of Available Support

Traditional Windows Installer handlingSupports a limited number of SIDs (Administrators, Everyone). Custom InstallShield handlingSupports many SIDs (Administrators, Authenticated Users, Creator Owner, Everyone, Guests, Interactive, Local Service, Local System, Network Service, Power Users, Remote Desktop Users, and Users). Traditional Windows Installer handlingDoes not support localized names for SIDs; if you try to use a localized name, the installation fails. Custom InstallShield handlingSupports localized names for all of the supported well-known SIDs (Administrators, Authenticated Users, Creator Owner, Everyone, Guests, Interactive, Local Service, Local System, Network Service, Power Users, Remote Desktop Users, and Users). Traditional Windows Installer handlingNot supported. This handling lets you set specific permissions; you cannot deny permissions. Thus, you can give a user readonly access to a file. However, you cannot prevent a user from having read-only access. Custom InstallShield handlingSupported. This option lets you indicate whether you want to deny a user or group from having the permissions that you are specifying. Traditional Windows Installer handlingExisting permissions may be deleted. For example, if permissions are already set for a folder on the target system for the Everyone user, and your installation needs to set permissions for the Administrators user, this option would allow you to set permissions for the Administrators user. However, the existing permissions for Everyone would be deleted. Custom InstallShield handlingThis option lets you add permissions to a file, folder, or registry key that already exists on the target system, without deleting any existing permissions for that object. For example, if permissions are already set for a folder on the target system for the Everyone user, and your installation needs to set permissions for the Administrators user, these options would allow you to set permissions for the Administrators user without deleting the existing permissions for the Everyone user. Traditional Windows Installer handlingNot supported. If you want to configure permissions for a subfolder or a file in a folder (or a subkey under a registry key), the parent that is created on the target system automatically inherits the permissions of its child. Custom InstallShield handlingSupported. This option lets you configure permissions for a folder (or a registry key), and indicate whether you want the permissions to be applied to all of the folders subfolders and files (or the registry keys subkeys).

Localized names for SIDs

Ability to deny specific permissions

Effect on permissions that already exist

Ability to propagate permissions to child objects (subfolders, files, and subkeys)

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

29

Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys

Table 4-1: Comparison of Different Ways to Secure Objects (Files, Folders, and Registry Keys) in a Locked-Down Environment (cont.) Comparison Category Ability to set permissions for a new user that is being created during the installation Explanation of Available Support

Traditional Windows Installer handlingNot supported. Custom InstallShield handlingSupported. If a new user is created during the installation, you can configure permissions for that user.

Selecting the Locked-Down Permissions Type for a Project


InstallShield includes a project-wide setting that lets you specify how your installation should configure permissions for files, folders, and registry keys for end users in a locked-down environment.

Task

Selecting the locked-down permission type for a project: 1. 2.

In the View List under Installation Information, click General Information. In the Locked-Down Permissions setting, select the appropriate option.

Figure 4-6: New Locked-Down Permissions Setting in the General Information View
30 ISE-1600-EG01 InstallShield 2010 Express Edition Evaluator Guide

Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys

The next time that you configure permissions for a file, folder, or registry key in your project, InstallShield uses the locked-down permission type that you selected:

If you selected the traditional Windows Installer handling option, InstallShield uses the LockPermissions table in your project. If you selected the custom InstallShield handling option, InstallShield uses the ISLockPermissions table in your project; InstallShield also adds the ISLockPermissionsCost and ISLockPermissionsInstall custom actions to your project.

If you change the value of the Locked-Down Permissions setting but your project already contains permission settings for files, folders, or registry keys, InstallShield displays a message box that lets you specify whether you want to migrate the permission data to the appropriate table. If you choose to migrate the data, InstallShield moves the data to the table that corresponds with the option that you selected; if you are switching from the custom InstallShield handling option to the traditional Windows Installer handling option, InstallShield also deletes the ISLockPermissionsCost and ISLockPermissionsInstall custom actions from your project.

Figure 4-7: Message Box that InstallShield Displays If You Change the Locked-Down Permission Type in a Project That Already Contains Permission Settings

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

31

Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys

Configuring Permissions for a File, Folder, or Registry Key

Task

To configure the permissions for a file or folder: 1. 2.

In the View List under Specify Application Data, click Files. For a file: In the Destination computers files pane, right-click the file and then click Properties. The Properties dialog box opens. For a folder: In the Destination computers folders pane, right-click the folder and then click Properties. The Properties dialog box opens.

3.

Click the Permissions button. The Permissions dialog box opens.

Figure 4-8: Using the InstallShield Custom Handling Option for Configuring Permissions 4.

Add, modify, and remove permissions entries as needed. For additional information, click the Help button that is displayed on the Permissions dialog box.

Task

To configure the permissions for a registry key: 1. 2.

In the View List under Configure the Target System, click Registry. In the Destination computers Registry view pane, right-click the registry key and then click Permissions button. The Permissions dialog box opens. This dialog box is the same one that is displayed if you are configuring permissions for a file or folder in your project. Add, modify, and remove permissions entries as needed. For additional information, click the Help button that is displayed on the Permissions dialog box.

3.

32

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

5
Additional Information
For quick and easy installations that support todays technologies, InstallShield is the industry standard. InstallShield 2010 Express Edition enables you to build reliable installations in record time, and avoid installation-related application errors by keeping current with support for the latest technology. InstallShield 2010 Express Edition is fully integrated with Visual Studio, enabling development of installations and applications within the same familiar Visual Studio interface. InstallShield 2010 Express Edition continues InstallShields tradition as the industry standard for installation authoring by supporting the latest technology platforms. Several resources are available to help you learn about InstallShield.

InstallShield Help LibraryThe Help Library contains information on InstallShield and is easily accessible from the Help menu in InstallShield. The Help Library is also available online at http://helpnet.installshield.com. Windows Installer Help LibraryInstallShield includes the full Microsoft Windows Installer Help Library, which provides technical information on the Windows Installer service. Knowledge BaseFor answers to many commonly asked questions and new information about InstallShield, visit the Knowledge Base at http://support.installshield.com/kb. InstallShield CommunitiesTo access the free online InstallShield community forum that connects

you to other InstallShield users and enables you to post questions and search for answers, visit http://community.installshield.com.

SupportA constantly updated support portal filled with answers, news, tips, and other resources

for InstallShield users is available at http://support.installshield.com.


WebinarsFlexera Software experts walk you through new features and capabilities available in

InstallShield. To see a list of available webinars, visit http://www.installshield.com/cdsource/redirects/expressx/webinars.asp.

DownloadsObtain the latest merge modules, objects, InstallShield prerequisites, white papers,

product datasheets, project samples, and more by visiting the Downloads area at http://www.installshield.com.

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

33

Chapter 5: Additional Information

34

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Index

A
adding files 11 Administrator option for Required Execution Level setting 18

F
feature conditions for Windows 7 10 Files view 11 FLEXnet Connect 11.6 1

B
building a release 19

G
General Information view Create MSI Logs setting 13 Require Administrative Privileges setting 16

C
contacting Flexera Software 4 Create MSI Logs setting 13 creating Express project 9 log files for Windows Installer 4.0 installations 13 new project 8 custom action conditions for Windows 7 10 Customer Experience Improvement Program 4 customizing Windows Installer 4.0 and later log files 15

H
help topics 4 help, getting 4 Highest available option for Required Execution Level setting 18

I
IIS applications 27 IIS improvements 27 IIS virtual directories 27 IIS Web sites 27 Installation Designer 7 installing InstallShield 3 InstallShield Community 4

E
enhancements 2 evaluating InstallShield 3 Express project type 8

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

35

Index

InstallShield Help Library 4 interface of InstallShield 3 Output window 19 views 7 Internet Information Services improvements 27 Invoker option for Required Execution Level setting 18 ISCmdBld.exe 19

projects list of recently opened 4 types of 8

R
Redistributables view 23 release notes about InstallShield 4 Releases view building a release from the 19 Required Execution Level setting 17 Setup Launcher setting 17 RSS feeds of KB articles 4 running an installation 21

K
known issues in InstallShield 4

L
launching an application from an installation 19 locked-down permissions 28 logging Windows Installer 4 installations 13

S
setting permissions 28 setup launcher, specifying required execution level for 17 Show the Windows Installer log check box 13 SIDs 29 Smart Device project type 8 Start Page 4

M
migration information 2 MsiLogFileLocation property 13 MsiLogging property 13

N
new features 1 New Project dialog box 8

T
targeting Windows 7 systems 9 testing an installation 21

O
Output window 19

U
UAC security 16 upgrading projects to the latest version of InstallShield 2 User Account Control (UAC) security 16

P
permissions elevated for installation 19 UAC 16 permissions, setting 28 privileges elevated for installation 19 UAC 16 Project Assistant 6

V
views in InstallShield 7

W
webinars on InstallShield 4

36

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

Index

Windows 7 1 creating feature and custom action conditions for 10 creating installations for 9 support for 1 Windows Installer 4.0 and later

adding a Show the Windows Installer log check box for 13 customizing log files for 15 Windows Installer 5 1 Windows Server 2008 R2 1

InstallShield 2010 Express Edition Evaluator Guide

ISE-1600-EG01

37

Index

38

ISE-1600-EG01

InstallShield 2010 Express Edition Evaluator Guide

You might also like