I am working on a windows installer project. And now I only want the software only can be installed on Windows 7 or Windows Server 2008 R2 system, I tried to use this:
Vista and Server 2008 pre-SP2 have the same major version number. You also need to look for the Wix equivalent to 'VER_NT_SERVER' (InstallShield). (at work now, don't have Wix installed here)