This example still contains the Condition/@Level attribute. Make sure that 
attribute is removed!

Follow Rob's suggestion to check the verbose log to make sure the property 
values are what you expect.

I assume the Component in question is part of a Feature that has been selected 
to be installed, right?

Edwin G. Castro
Software Developer - Staff
Digital Channels
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Sujitha Ramamoorthy [mailto:[email protected]]
> Sent: Monday, April 16, 2012 8:55 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Condition under component is not working
> 
> Even if I compare IISMAJORVERSION with number 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>
> 
> -----Original Message-----
> From: Rob Mensching [mailto:[email protected]]
> Sent: Monday, April 16, 2012 9:30 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Condition under component is not working
> 
> "#7" is a string. What string are you comparing it too? I don't think I've 
> used a
> string comparisons with any greater or less than before.
> 
> On Mon, Apr 16, 2012 at 8:33 AM, Sujitha Ramamoorthy <
> [email protected]> wrote:
> 
> > 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
> >
> >
> > ----------------------------------------------------------------------
> > -------- 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-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> 
> 
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
> ------------------------------------------------------------------------------
> 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-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to monitoring Big
> Data applications. Try Boundary one-second resolution app monitoring today.
> Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to