Installshield Product Code ((link))
If you want the new version to stand alongside the old version (side-by-side installation), you need a new Product Code AND a new Upgrade Code. If you want the new version to replace the old version, change the Product Code but keep the Upgrade Code identical.
Windows Installer uses this code to identify if the application is already installed on a target machine.
This article dives deep into the anatomy of the InstallShield Product Code, how it interacts with Windows Installer (MSI), best practices for major vs. minor upgrades, and how to manage patches without losing your sanity.
| Scenario | Product Version | Product Code | Result | | :--- | :--- | :--- | :--- | | | Increment (e.g., 1.0.0 to 1.0.1) | Keep Same | Files are updated in place. | | Major Upgrade | Increment (e.g., 1.0 to 2.0) | Change (New GUID) | Old version removed, new version installed. | | Side-by-Side Install | Any | Change (New GUID) | Both versions appear in Add/Remove Programs. | installshield product code
: You can click the Generate a new GUID button (...) next to the Product Code field to create a new ID. Rules for Upgrading :
If your project is in XML format, you can script a regex replacement to inject a new GUID into the <ProductCode> tag before the build starts.
Automatically changes every single time you build the installer. Identifies a specific version/release of a product. If you want the new version to stand
Never reuse a Product Code from one product on a completely different product. This will confuse Windows Installer, causing it to think the new product is already installed or leading to corrupted registry entries.
PowerShell provides a quick way to scan the registry for installed software GUIDs. Run the following command to list applications alongside their corresponding Product Codes: powershell
Now go forth and build flawless InstallShield setups. This article dives deep into the anatomy of
If you need to silently uninstall an InstallShield-built MSI application via the command line, you must use the correct Product Code syntax: msiexec.exe /x YOUR-PRODUCT-CODE-GUID-HERE /qn Use code with caution. /x : Triggers the uninstallation.
The InstallShield Product Code is a fundamental property in Windows Installer (MSI) setup projects. It serves as the primary unique identifier for a specific release of your software application. Managing this GUID (Globally Unique Identifier) correctly ensures seamless installations, smooth upgrades, and clean uninstalls.
Last updated: October 2025. InstallShield 2023 R2 and later.