简体   繁体   中英

Checking for OS in WIX Installer

I have created an Installer for my application. The application is supported on Windows XP, Windows Vista & Windows 7. If User tries to install on some other OS, it should show a message to the user that the OS is not supported. I know I can add a check using VersionNT Property in Windows Installer. But according to the values given here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa370556(v=vs.85).aspx

If I check VersionNt=600, Then it allows the product to be Installed on Windows Vista as well as Server 2008 because both have VersionNT = 600. How can I allow user to only support Vista in this case and not Server 2008

检查MsiNTProductType属性,并要求它等于1(工作站)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM