How to check the system is Windows 7 or Windows Server 2008 R2 in Wix Installer?

后端 未结 4 1759
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 10:12

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:

4条回答
  •  囚心锁ツ
    2020-12-15 10:26

    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)

提交回复
热议问题