WIX Installer: Prevent installation on Windows Server 2012 R2
问题 I have a WIX project that must only be installed on Windows Server 2016 (or newer). Looking at Microsoft documentation, VersionNT for: Windows Server 2016 is 603, Windows Server 2012 is 602. The VersionNT for Windows Server 2012R2 has never been mentioned. When I use below line of code: <Condition Message="!(loc.RequireServer2016)"><![CDATA[INSTALLED OR (VersionNT >= 603)]]></Condition> it still lets me install on Windows Server 2012R2. How can I limit the installation of my software to only