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

后端 未结 4 1780
伪装坚强ぢ
伪装坚强ぢ 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:47

    Just check for VersionNT 601 or newer, Windows 7 and Server 2008 R2 both have the same value.

    = 601]]>
    

提交回复
热议问题