Thanks Bob and Brian -- I'm still new to XML 

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Thursday, February 26, 2009 5:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Why cannot use MsiNTProductType value in Condition?

Alan Sinclair wrote:
> MSDN says the way to recognize a server version of Windows is to use the 
> MsiNTProductType property. Is there a reason why WiX 2.0.5805.0 will not let 
> me use it in a LaunchCondition, like this?
>
>     <Condition Message="This application is not for Windows Servers">
>       VersionNT>=500 AND MsiNTProductType<2
>     </Condition>
>   

You need to "escape" characters in XML: Either use CDATA to wrap the condition 
or use &lt; and &gt; instead of < and >.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to