Professional Documents
Culture Documents
Application Packaging Using Install Shield
Application Packaging Using Install Shield
Santhosh J
Aug 2010
Agenda
Introduction Application packaging concepts Types of installers
Legacy installers Basic MSI installers Installscript MSI installers
InstallShield - Overview InstallScript - Basics Custom Dialogs Extending InstallShield functionalities with external DLLs Upgrade installer using InstallShield Patch installer using InstallShield
Agenda (Continued)
Silent install Merge modules & Transforms - Overview InstallShield best practices Debugging Support tools Summary
Introduction
Application packaging is the process of creating installation kits for applications. Most programs are supplied in the form of a condensed file. In order to use, they must be unpacked and the information are furnished into the system accordingly. Common operations performed by an installer:
Files and folders Windows registry entries Configuration files Environment variables Links or shortcuts
Introduction (Continued)
Why we need an installer?
Simple for end-users Easy file management Fewer manual steps to be performed Better administration Can be used with distribution mechanisms like Tivoli, SMS, Marimba etc.
Upgrade installers
When an installed application is upgraded to a newer version
Legacy
InstallScript MSI Windows installer supported by InstallScript Yes High Yes Limited
InstallShield-Overview
Why InstallShield?
Powerful IDE MSI Direct editor Setup debugger Easy configurations Simple and easily understandable scripting language Supplies enough templates to create basic setups Saves time Efficient support systems Wider community groups
Editions of InstallShield
Quick Patch
Recommended for installation authors who want updates to their end users. QuickPatch authoring provides an alternative to creating a patch configuration in the Patch Design view even though it provides less customization.
Transforms
A transform (.mst file) is a simplified Windows Installer database that contains the differences between two MSI databases. Transforms enable an administrator to apply modified settings to a database when deploying an installation package.
Apart from the kind of question seen above, there are situations where we need some of the InstallShield specific information
Support folder Install directory Source disk Source directory Uninstall string
FOLDER_DESKTOP FOLDER_PROGRAMS FOLDER_STARTMENU FOLDER_STARTUP MEDIA MODE PRODUCT_GUID PROGRAMFILES SELECTED_LANGUAGE SHELL_OBJECT_FOLDER