windows - Is it necessary to use unique WIX product ID for all product versions if upgrade not supported -


We have a product that uses the WIX installer and only our support team has demonstrated the installation routine. There are two steps in the only way used for the upgrade application:

  1. Delete the previous version of the installed app. We have a list of all product GUIDs by which we can remove all possible versions (MSIXAC / X GUID)
  2. Install the latest one

Upgrade, Repair Or older versions of the installation will never be used for this product (this is impossible because the deployment is done by the script).

Is it necessary to make product ID unique for all upgrades, if we do not use the upgrade functionality, or is it possible to place the same product and upgrade ID?

From the documentation of: This ID should be different for different versions and languages. Therefore, you should generally set id = "*" in the product element, so that you are unique to each installer package.

I can not think of a reason because you want this ID to be for different versions of your installer; This window will confuse the installer, e.g. You may get correction dialog when you try to install a new package without uninstalling the previous one.

The upgrade code should only be relevant when you use MajorUpgrade , but it seems that you are not using it.

Edit : OK, so you want to keep the product ID the same so that it msiexec / x {GUID} .

Alternatively, the installer allows itself to record the product code GUID somewhere, such as by. Or you can write product guides at a certain place in the registries, and then you can write the script that reads to uninstall that value.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -