Hello All, One of our codebases is on Wix 3.6 and we are using built-in Wix variable VersionNT to detect the OS version.
The check we are doing is : (VersionNT > v6.3) This should return true on Windows 10 but it's returning false. Looking at the Wix logs VersionNT is set to 6.3.0.0 and that explains why the check failed. On our other codebase which is on Wix 3.8, this seems to work as the value of the VersionNT property that gets logged is 10.0.0.0, which would pass the check. Does anyone know if this is something that got changed from Wix 3.6 to Wix 3.8? At this point of time, we may not be able to upgrade to Wix 3.8 for that codebase, so is there any other alternate way in Wix that we can use to detect if we are on Windows10 or not? v6.3 gets returned for Windows 8.1 as well as Windows Server 2012 R2 and we need a way to differentiate to not install a package(.NET 4.6) on a Win10 machine. Any pointers on using a registry to detect whether it's Win10 or not would be helpful. Regards, Rajesh -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detecting-Windows-10-OS-in-Wix-tp7600616.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users