I have a product where the customers expect a 3 part version number like 1.2.3 but internally we use 1.2.3.4. The version is set automatically in the Wix installer, so how do I drop the last number (4)?.
Context
The last number, in the example '4', is the subversion commit number that is automatically generated. Our customers do not want to see "release 5.6.1.7654" but want to see "release 5.6.1". That is the nature of our market. We do display the full number in the Help | About dialog.
Implementation
In the Wix XML we have:
<?define ProductVersion="!(bind.FileVersion.MyExe)" ?>
:
<Product
:
Version="$(var.ProductVersion)"
:
How do I format the $(var.ProductVersion) from X.X.X.X to X.X.X?
Thanks in advance
Rob