views:

427

answers:

1

I use wix for building a setup for a product. The product has version of the format

major.minor.patchnumber

Example:

4.5.1313

in each build the last patchnumber keeps changing like 1314, 1315 and so on.

I would like to know whether I should keep the id attribute in the product element as autogenerated between just the patch number changes or should they remain constant?

+2  A: 

If you are autogenerating your Product/@Id then you are doing a Major Upgrade. If you want to do small updates or minor upgrades then you do not want to change the Product/@Id.

See the table in this topic http://msdn.microsoft.com/en-us/library/aa370579(VS.85).aspx

Rob Mensching

related questions