Do I need to use a unique WIX product identifier for all product versions if the update is not supported

We have a product that uses the WIX installer, and only our support team performs the installation. The only way that the update application is used consists of two steps:

  • Uninstall any previous version of the application that is installed. We have a list of all product GUIDs with which we can remove all possible versions (msiexec / x GUID).
  • Install the latest version.

Upgrading, restoring, or installing scripts from the old version will never be used for this product (this is not possible because the deployment is performed by scripts).

Do I need to make the product identifier unique for all new versions if we do not use the Upgrade functionality, or can I keep the same product identifier and updates?

+4
source share
3 answers

From the documentation Property ProductCode : This identifier must be different for different versions and languages. Therefore, usually you just need to install Id="*"in the element Productso that it is unique for each installer package you create.

, , Id ; Windows, . .

MajorUpgrade, , .

edit: , , , msiexec /x {GUID}.

, GUID -. . . Guid , script, .

+6

- , Major Upgrade. , . .

script .

+1

. . . script "msiexec/x GUID", , . , .

-2

All Articles