I have used  IISVERSION="#6" (for IIS 6 only) and IISVERSION<>"#6" for
higher, I don't worry about IIS5 as we will never install on an OS with IIS5
on it because of launch conditions.

 

I don't think >= will work to well with strings.

 

Also this is a mailing list for development of the wix toolset, post
questions about using wix to wix-us...@lists.sourceforge.net.

 

 

 

 

From: Sujitha Ramamoorthy [mailto:sujitha.ramamoor...@aspiresys.com] 
Sent: 16 April 2012 13:53
To: wix-devs@lists.sourceforge.net
Subject: [WiX-devs] Condition under component is not working

 

 

Hi,

 

I added condition for IIS version under component but it is not working.

 

<Component Id="WebSite" Guid="{F509D5DC-3F13-4AAF-974E-0D7EF82EE4B3}">

<Condition Level="0"><![CDATA[IISMAJORVERSION >= "#7"]]></Condition>

<CreateFolder />

<iis:WebSite Id="WebSiteFolder"
Description="$(var.EnterpriseWebSiteDescription)" Directory='ServerWebDIR'>

<iis:WebAddress Id="AllUnassigned" Port="80" />

</iis:WebSite>

</Component>

 

Please anyone help for this problem.

 

Thanks,

Sujitha

</pre>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to