GUIDs

InstallShield 2015

GUID stands for globally unique identifier. A GUID is 128 bits long, and the algorithm used to generate a GUID guarantees each GUID to be unique. Because GUIDs are guaranteed to be unique, they can be used to identify COM classes, Product Codes, and various other codes.

For example, after a product is installed, a key is created under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and is named after the installation’s Product Code. At one time, this key was named after the Product Name. However, this caused a potential conflict. If two installations were installed on the same machine, and both shared the same Product Name, they would also share the same registry key. Because a GUID is now used, it guarantees that this conflict does not occur.

An example GUID is {5D607F6A-AF48-4003-AFA8-69E019A4496F}. Any letters in a GUID must be in uppercase.

GUIDs in Your Project

When you create an installation project, there are a number of different GUIDs that are relevant to your project.

GUIDs

GUID Name

Description

Product Code

The product GUID uniquely identifies your application.

Package Code

The package code uniquely identifies your installation package.

Project: This GUID is available in the following project types: Basic MSI, InstallScript MSI, and QuickPatch.

Package GUID

The package GUID uniquely identifies the installation package in the Advanced UI or Suite/Advanced UI installation.

Project: This GUID is available in Advanced UI and Suite/Advanced UI projects.

Patch GUID

The patch GUID uniquely identifies a patch package.

Project: This GUID is available in the following project types: Basic MSI, InstallScript MSI, and QuickPatch.

Suite GUID

The Suite GUID uniquely identifies your Advanced UI or Suite/Advanced UI installation.

Project: This GUID is available in Advanced UI and Suite/Advanced UI projects.

Upgrade Code or Upgrade GUID

The upgrade GUID uniquely identifies a family of products for upgrade purposes. It is important for major upgrades.

Project: This GUID is available in the following project types: Basic MSI, InstallScript MSI, and QuickPatch.

Project: For information on when you need to change GUIDs in a Basic MSI or InstallScript MSI project, see Major Upgrade vs. Minor Upgrade vs. Small Update.