Take a look at a verbose log file and see if the Properties equal what you
think they equal.

On Mon, Apr 16, 2012 at 8:55 PM, Sujitha Ramamoorthy <
[email protected]> wrote:

> 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
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
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