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

For any type of upgrade, you must change various combinations of the package code, product version,<br />

and product code in the General Information view to identify the product being installed. The upgrade<br />

code must be the same for all versions of the product. The following table identifies when each code<br />

should be changed for different types of upgrades.<br />

Table 17-3: Codes that Need to Be Changed for the Different Types of Upgrades<br />

Small Update X<br />

Package Code Product Version Product Code Upgrade Code<br />

Minor Upgrade X X<br />

Major Upgrade X X X<br />

Creating Full-Installation Upgrades<br />

Project: This information applies to <strong>Express</strong> projects.<br />

Once you have determined that a full-installation upgrade is the best upgrade solution for you, you can<br />

begin to create your upgrade in the Upgrade Paths view. You can start by creating a new <strong>Express</strong> project,<br />

or you can open the installation for the latest version of your product and modify it as needed.<br />

Note that a major upgrade signifies significant change in functionality and warrants a change in the<br />

product code and the product version; you can update these values in the General Information view.<br />

Note: When you change the product code, Windows Installer treats your latest and previous product versions as unrelated,<br />

even though the ProductName values are likely the same. If you want both versions of your product to be installable on<br />

the same system, you can simply change the product code and the main installation directory (often INSTALLDIR).<br />

Upgrade paths are for major upgrades only. The Upgrade Paths view is only for upgrading an entire<br />

installation, and not for upgrading a few files (patching). If you need patching capabilities, you can<br />

create a QuickPatch project.<br />

If you do not use the Upgrade Paths view to create an upgrade for an earlier version of the product, your<br />

end users may need to manually uninstall the earlier version of your product before installing the new<br />

version. The Upgrade Paths view can handle both the uninstallation of one or more products, as well as<br />

the installation of the new version. For example, if your users have both 1.0 and 2.0 of your product<br />

installed on their system, and you release 3.0, you can use the Upgrade Paths view to remove any or both<br />

of the earlier versions by adding two entries in the Upgrade Paths explorer. Each upgrade path must<br />

have a separate entry in the Upgrade Paths explorer.<br />

328 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!