You need to the VersionNT & ServicePackLevel values
http://wix.sourceforge.net/manual-wix3/block_install_on_os.htm
http://msdn.microsoft.com/library/aa370556.aspx
e.g. this checks for XPSP3, W2kSP2 and Vista or about:
<Condition Message="Not supported"><![CDATA[Installed OR ((VersionNT >=
501) AND (ServicePackLevel >= 3)) OR ((VersionNT >= 502) AND (ServicePackLevel
>= 2)) OR (VersionNT >= 600)]]></Condition>
You can extend it to support the others in your list.
Neil
-----Original Message-----
From: Ravi Raj [mailto:[email protected]]
Sent: 29 October 2011 02:12
To: [email protected]
Subject: [WiX-users] Launch Conditions based on installed OS
Hello,
How can I implement Launch Conditions based on installed OS. Suppose if Windows
XP is installed then I will have to check whether it has been upgraded to SP3
or not. If Windows Server 2008 is installed then I have to check whether it has
Sp2 or not.
I have to build this Launch Conditions to following Oss:
* Windows Server 2003 SP2 and above
* Windows Server 2008 SP2 and above
* Windows Server 2008 R2 SP1
* Windows XP Professional SP3 and above
* Windows Vista SP2 and above
* Windows 7 SP1
Regards,
Ravi
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes.
BlackBerry App World™ now supports Android™ Apps for the
BlackBerry® PlayBook™. Discover just how easy and simple it is!
http://p.sf.net/sfu/android-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World™ now supports Android™ Apps
for the BlackBerry® PlayBook™. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users