My end goal is to allow installation only on Server 2016, 2019 and 2022. I've opted to use VersionNT64
and WindowsBuild
in <Condition>
, however they seem to always be set to 603
and 9600
(respectively) regardless of what OS I'm running the msi on.
On the left the installation log generated by executing the msi with /l*vx
and on the right winver
.