Hey Alan, You might want to try using one of the following as you are in XML.
<Condition Message="This application is not for Windows Servers"> VersionNT>=500 AND MsiNTProductType<2 </Condition> <Condition Message="This application is not for Windows Servers"> <![CDATA[VersionNT>=500 AND MsiNTProductType<2]]> </Condition> Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Thu, Feb 26, 2009 at 4:28 PM, Alan Sinclair <alan.sincl...@citrix.com>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> > > Candle says "fatal error CNDL003 1: Name cannot begin with the '2' > character, hexadecimal value 0x32." > > If I omit "<2" then candle doesn't complain. I.e this is ok: > > <Condition Message="This application is not for Windows Servers"> > VersionNT>=500 AND MsiNTProductType > </Condition> > > Is it me, or is it WiX? If I can't use MsiNTProductType value, then how > can I prevent installs on server Oses? > > The MSDN link is http://msdn.microsoft.com/en-us/library/aa370329.aspx# > > > > > > ------------------------------------------------------------------------------ > 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