[wix-users] Allow version string of 4 digits

Edwin Castro egcastr at gmail.com
Tue Feb 15 10:39:39 PST 2022


Note that MSI does not stop you from using versions with 4 components for
file version nor product version. But as it pertains to the msi's product
version, the fourth component will be ignored so that
ProductVersion=1.10.0.1 and ProductVersion=1.10.0.37 will be evaluated as
equivalent ProductVersions. This design requirement comes out of the MSI
update design. Check out the details at
https://docs.microsoft.com/en-us/windows/win32/msi/patching-and-upgrades

Bundle executables are not bound by this MSI limitation so you can use
versions with 4 components with a bundle executable *but* your MSI packages
will still need to abide by MSI rules.

--
Edwin G. Castro


On Tue, Feb 15, 2022 at 7:24 AM Coryat, Jim via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> I don't think it's a Wix issue as much as it is a windows installer
> limitation.
>
> https://docs.microsoft.com/en-us/windows/win32/msi/productversion
>
>
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Sverre Moe via wix-users
> Sent: Tuesday, February 15, 2022 8:59 AM
> To: wix-users at lists.wixtoolset.org
> Cc: Sverre Moe <sverre.moe at gmail.com>
> Subject: [wix-users] Allow version string of 4 digits
>
> IMPORTANT NOTICE - This message sourced from an external mail server
> outside of the Company.
>
> Running WiX to produce an MSI/EXE fails, because we are using a version
> with 4 digits.
>
> Version string may have up to 3 components - major.minor.build .
> Version string is not compatible with MSI rules [1.10.0.1]
>
> We need to support using 4 digits in our version.
> major.minor.bugfix.patchfix
>
> Is there any way this can be done with WiX Toolset when producing an
> MSI/EXE?
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7CJim.Coryat%40softprocorp.com%7C1375ff0e526847e32e0308d9f08b53f3%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637805303483188493%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=AGvJc7l88NSOjHAlnNvyqt1Yd0ntNVreOW7j49oIFyg%3D&reserved=0
> ________________________________
>  NOTICE: The information contained in this message is proprietary and/or
> confidential and may be privileged. If you are not the intended recipient
> of this communication, you are hereby notified to: (i) delete the message
> and all copies; (ii) do not disclose, distribute or use the message in any
> manner; and (iii) notify the sender immediately.
>
>
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list