Installshield Product Code Extra Quality
Error: "Another version of this product is already installed"
Identifies a family of related products. It remains constant across all versions and language releases of an application to facilitate major upgrades.
Its primary purpose is to act as the definitive identifier for your product. The Product Code is stored in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key, which is named after the Product Code GUID itself. This is why each product has a unique key, preventing conflicts that could arise if two installations shared the same product name.
Use a single Product Code for all alpha/beta builds. This prevents build sprawl. At release time, manually change the Product Code. installshield product code
Technically, the Product Code is stored as a Globally Unique Identifier (GUID). A GUID is a 128-bit integer that is virtually guaranteed to be unique, allowing different software products worldwide to be reliably identified without overlap.
Here, you will see the current GUID. You can manually edit it, or click the button (often represented by a small refresh or arrow icon next to the field) to automatically assign a new, unique identifier. In InstallScript Projects
Then, search the resulting log file for ProductCode . Error: "Another version of this product is already
the same. This tells Windows: "This is a new version of the same product; please remove the old GUID and register this new GUID." Managing Product Codes in InstallShield
The second install will fail with a message that the product is already installed, or it will trigger a self-repair. Fix: If you need multiple builds (e.g., Developer vs. Production), you must either use different Product Codes or use instance transforms (MSI).
The Product Code setting is prominently displayed, and InstallShield provides a convenient button (labeled ... ) that generates a new GUID for you. This tool eliminates the need to manually format a GUID and ensures the value is correctly structured. The Product Code is stored in the registry
Small updates fix minor bugs and change only a few files. For a Small Update, you the Product Code and Product Version identical, but you must change the Package Code. Best Practices for Managing Product Codes
You can use COM automation (via VBScript or PowerShell) to modify the Product Code before compiling: powershell
Locate the property in the main window. It will be listed under the "Product Properties" group. How to Find the Product Code of an Installed App
: When releasing patches, ensuring the correct product code is targeted is crucial for successful patch application.