Professional Documents
Culture Documents
Evaluator Guide
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.
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
ISE-1600-EG01
iii
Contents
iv
ISE-1600-EG01
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.
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
ISE-1600-EG01
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
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
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.
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.
Help Topics
ISE-1600-EG01
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.
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.
ISE-1600-EG01
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
ISE-1600-EG01
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
ISE-1600-EG01
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.
Task
On the File menu, click New. The New Project dialog box opens. Click Express Project. In the Project Name box, type Othello. Click OK.
ISE-1600-EG01
Task
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.
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
Chapter 3: Tutorial on Support for Windows 7 Part C: Adding Files to Your Project
Task
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.
ISE-1600-EG01
11
Chapter 3: Tutorial on Support for Windows 7 Part C: Adding Files to Your Project
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
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.
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
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).
ISE-1600-EG01
15
Chapter 3: Tutorial on Support for Windows 7 Part E: Specifying Whether the .msi File Requires Administrative Privileges
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
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.
ISE-1600-EG01
17
Chapter 3: Tutorial on Support for Windows 7 Part F: Specifying the Required Execution Level for the Setup Launcher
5.
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;
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
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.
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
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
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
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.
ISE-1600-EG01
21
22
ISE-1600-EG01
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.
ISE-1600-EG01
23
Chapter 4: Walkthrough of Additional InstallShield Features Part A: Working with the Redistributables View
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.
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).
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
Chapter 4: Walkthrough of Additional InstallShield Features Part B: Managing Internet Information Services
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.
Task
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
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.
Traditional Windows Installer handlingInstallShield stores permission information for your product
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
Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys
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).
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.
Task
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
ISE-1600-EG01
31
Chapter 4: Walkthrough of Additional InstallShield Features Part C: Setting Permissions for Files, Folders, and Registry Keys
Task
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.
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
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
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
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.
ISE-1600-EG01
33
34
ISE-1600-EG01
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
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
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
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
ISE-1600-EG01
37
Index
38
ISE-1600-EG01