If you are building setups/installer (Do you know the difference?) in the world of windows you might have heard about the Windows Installer XML (Wix) toolset.
Version number in Wix
While building an installer it is possible to define a version number after the usual system Major.Minor.Build.Revision which will be visible at the programs in the system administration:
What’s important in the case of an update
If the software is installed in version 188.8.131.52 and you wish to install the new version 184.108.40.206 Wix is going to recognize the difference and delete the older version automatically.
The problem appears if you change the last number of the version because Wix won’t recognize this.
Version 220.127.116.11 is currently installed and now version 18.104.22.168 is delivered. In this case the installer won’t delete the older version but reinstall it. Not until you reach version 22.214.171.124 he will recognize the difference and the usual upgrade-process works properly.
More information’s on the official website.
How did I recognize the problem?
I’ve found this problem because that’s how our Nightly Build System generated version numbers after this system till now: 1.0.YYMM.DDBuildNumber – that means a lot of useless dead weight for my system at the end of the month
Thanks a lot also to Sebastian Seidel – who provides me with several good hints about Installers on Twitter.
Also be aware: The "FileVersion" is important - the "ProductVersion" flag can be anything and is not important for the WIX update process!
Wix-Version system: Number.Number.Number.doesn’t matter