[wix-users] The third part (1.0.X) of my product version number is not padded to 4 digits

Christopher Painter chrpai at iswix.com
Thu Apr 30 15:42:56 PDT 2020

You can't. It violates Windows Installers design.  You can tack on a 4th with pretty much anything you want with impunity.  It will mean nothing to MSI though.


From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Tigran Galoyan via wix-users <wix-users at lists.wixtoolset.org>
Sent: Thursday, April 30, 2020 5:09 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Tigran Galoyan <tigran.galoyan at gmail.com>
Subject: [wix-users] The third part (1.0.X) of my product version number is not padded to 4 digits


In my wix project the product version number is generated by a tool and we
strictly want the 3rd component of the number to appear as it was generated.

Let's say the version number to use is 2.17.0043, then after the product is
installed I can see it omits the leading 0s from the third component of the
version showing it as 2.17.43. Even if I open the bootstrapper's outcome
setup executable file Properties and switch to the Details tab page then
the File or Product version are 2.17.43.

How can I preserve the 3rd part of the version to keep it's original
textual look 2.17.0043?



WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list