Hey Jacek,

<Condition> represents just one field in the MSI table. Therefore, you can
have many conditions but they must all be inside the <Condition> element.
Try this instead.

<Component Id="bmp" DiskId="1" Guid="C4AC72F8-626F-444C-B7DF-24106409311A">
<Condition>SOMEPART=1 OR SOMELANG=1</Condition>

Something a bit more complicated
<Condition>(SOMEPART=1 AND SOMELANG=1) OR (SOMEPART=1 AND
SOMELANG=2)</Condition>

Use this as a reference when making a condition statement.
http://msdn2.microsoft.com/en-us/library/aa368012.aspx

Thanks,

Brian

On Dec 12, 2007 2:55 PM, wolk <[EMAIL PROTECTED]> wrote:

> <Component Id="bmp" DiskId="1"
> Guid="C4AC72F8-626F-444C-B7DF-24106409311A">
> <Condition>SOMEPART=1</Condition>
> <Condition>SOMELANG=1</Condition>
> ...
>
> </Component>
>
>
> error CNDL0045 : The Component element contains multiple Condition child
> elements.  There can only be one Condition child element per Component
> element.
>
> On Wed, 12 Dec 2007 13:32:59 -0800, Brian Rogers wrote
>  > Can you send an example of your code?
> >
> > On Dec 12, 2007 2:41 PM, wolk <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > How to add two conditions to one component in wix 2?
> > > I try AND, OR but don't work
> > >
> > > Jacek
> > > --
> > > System poczty na jablko.one.pl
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > SF.Net email is sponsored by:
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services
> > > for just about anything Open Source.
> > >
> > >
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> > --
> > Brian Rogers
> > "Intelligence removes complexity." - BR
> > http://www.codeplex.com/wixml/
>
>
>
> --
> System poczty na jablko.one.pl
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Brian Rogers
"Intelligence removes complexity." - BR
http://www.codeplex.com/wixml/
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to