Also, that description is intended for the description of the service -
it will show up in the services applet. You really want a description
about what the service is for, not some text about an installation rule.


Phil Wilson 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Monday, November 19, 2007 9:42 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Service Control and Service Install

SaiTeja wrote:
> Hi,
> 
> Can any review the wix code for the following and give example for
last one
> 
>                 Description="This will install only on Windows XP or
later" 
> 
> <Condition>NOT VersionNT = 500</Condition>  

Err, this is NOT VersionNT = 500 which means it will not install only on
one version of Windows. What you are looking for is probably

  VesionNT > 500

But since this is XML and it doesn't like > and <, you can escape it as

  VersionNT &gt; 500

or maybe

  <![CDATA[VersionNT > 500]]>



Alternatively, you may want to use

  VersionNT >= 501

so it is self explanatory.

- Adam

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to