In the main panel, look under the category. Locate the Product Code property to view or copy the GUID. 2. Using Orca MSI Editor If you only have the compiled .msi file:
For MSI-based installs:
Developers often confuse these three essential Windows Installer properties. Understanding their differences is critical for successful deployment. When to Change It Identifies a specific release/version of a product.
A is a comprehensive update to your product, often signified by a change to the first or second digit of the version number. This type of upgrade typically involves significant structural changes to the installation, such as removing or reorganizing features and components. For a major upgrade, the Product Code is changed to a new GUID, while the Upgrade Code remains the same. This tells Windows Installer that this is a new, separate product that is related to the old one via the shared Upgrade Code, and it should supersede (remove and replace) the old version. This is a clean, reliable way to uninstall the previous version and install the new one. installshield product code
: Define a Major Upgrade in the Upgrades view pointing to your Upgrade Code. 2. "Another version of this product is already installed"
If you change the Product Code but keep the same installation path, Windows may treat the new version as a completely separate product. This results in two entries in "Add/Remove Programs," leading to file conflicts and registry bloat. 3. Patching and Updates
InstallShield provides several methods to manage this GUID. In the main panel, look under the category
Setup.exe /v"/l*v C:\MSI.log"
: During installation, the product code helps in identifying the software and its version. It also aids in the uninstallation process, ensuring that the correct software is removed.
Windows stores uninstallation data in the registry. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Look through the subkeys (which are named after the Product Codes) to find the one matching your software's DisplayName . Rules for Changing the Product Code Using Orca MSI Editor If you only have the compiled
The following is a typical workflow for creating a major upgrade package that can detect and remove a previous version:
Identifies a general family of products across multiple versions. The Upgrade Code remains identical across version 1.0, version 2.0, and version 3.0. This allows the installer to find and remove older versions during a Major Upgrade.