09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 17: Updating Applications<br />

Working with Upgrades and QuickPatch Projects<br />

relationships among the upgrades packaged within a family of patches. Consequently, applying patch 1<br />

of a product after patch 2 has already been applied will register patch 1 without overwriting patch 2 files.<br />

For versions of Windows Installer earlier than version 3.0, the patch sequence is ignored, and any smallupdate<br />

patches are applied to the product in the order that they are provided to the target machine.<br />

The patch sequencing functionality available with Windows Installer 3.0 and later simplifies the patch<br />

creation process. The following sections show how.<br />

Creating Patches to Be Applied with Versions of Windows Installer Earlier than 3.0<br />

If you need to create your patches so that they can be applied to your product via versions of Windows<br />

Installer earlier than 3.0, it is recommended that you avoid creating small updates. Small updates do not<br />

change the product version; therefore, external programs, including installers for later versions of your<br />

product, cannot distinguish a product with the small update applied from one without the small update.<br />

For scenarios limited to versions of Windows Installer earlier than 3.0, you need to plan around such<br />

limitations of the installer, thus targeting an increasing number of possible earlier product states. The<br />

sample application lifecycle presented in the following table illustrates the resulting complexity.<br />

Table 17-5: Sample Application Lifecycle for Patches Applied with Versions of Windows Installer Earlier than 3.0<br />

Application Package Product Version Previous Setups Targeted by Package<br />

1. <strong>Base</strong> installation 1.0 —<br />

2. Minor upgrade 1.1 1.0<br />

3. Minor upgrade 1.2 1.0, 1.1<br />

4. Minor upgrade 1.3 1.0, 1.1, 1.2<br />

5. Minor upgrade 1.4 1.0, 1.1, 1.2, 1.3<br />

6. Major upgrade 2.0 1.0, 1.1, 1.2, 1.3, 1.4<br />

Creating Patches to Be Applied with Windows Installer 3.0<br />

With the patch sequencing functionality available with Windows Installer 3.0 and later, you can safely<br />

use a small-update patch to deliver a discrete upgrade for several different versions of a product, even<br />

though small updates do not change the product version. Unlike a small update, a minor upgrade<br />

changes the product version. Minor upgrades also form the framework for the sequencing of smallupdates<br />

patches. If a small update for version 1.1 of a product is applied to version 1.2, the installer<br />

registers the small update on the target system and applies it as if it were encountered before the 1.2<br />

minor upgrade was applied.<br />

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

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

Saved successfully!

Ooh no, something went wrong!