The engine can evaluate a condition. The wixstdba pulls the conditions out
of the BootstrapperApplicationData.xml then evaluates each one (by calling
into the engine). Check out the code, it's pretty straight forward (of
course, I may have written a bunch of it so take my opinion with a grain of
salt <smile/>).


On Fri, Mar 29, 2013 at 8:03 AM, ptr <ptrajku...@gmail.com> wrote:

> Thanks ...But it seems like IBootstrapperEngine,Engine don't have a
> EvaluateConditions
> at all.  Is there a way to get all conditions from a managed bootstrapper
> or Would you recommend that I do it all in code by not having any bal
> conditions but use Engine.EvaluateCondition
>
> Thanks
> Raj
>
>
> On Fri, Mar 29, 2013 at 8:51 AM, Rob Mensching <r...@robmensching.com>
> wrote:
>
> > Yes, a custom BA would need to evaluate the conditions. wixstdba has a
> > function called EvaluateConditions() that does that.
> >
> >
> > On Fri, Mar 29, 2013 at 7:35 AM, ptr <ptrajku...@gmail.com> wrote:
> >
> > > hey all
> > >
> > > I am trying to add a condition to my bundle and it doesn't seem to work
> > >
> > > I have something like this in my bundle
> > >
> > >   <Bundle Name="XXX"
> > >           Version="XXX"
> > >           Manufacturer="XXX"
> > >           IconSourceFile="XXX"
> > >           SplashScreenSourceFile="XXX"
> > >           UpgradeCode="XXX">
> > >
> > >     <bal:Condition Message="This should fail">
> > >       1 >= 2
> > >     </bal:Condition>
> > >
> > > The bundle references WixBalExtension and I have added xmlns:bal="
> > > http://schemas.microsoft.com/wix/BalExtension to the root Wix xml
> node.
> > >
> > > The installation log shows that other conditions are being evaluated
> but
> > > not bal conditions.  if you have a custom bootstrapper do you have to
> do
> > > something special to evaluate bal condition ?
> > >
> > > Thanks
> > > Raj
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Own the Future-Intel(R) Level Up Game Demo Contest 2013
> > > Rise to greatness in Intel's independent game demo contest. Compete
> > > for recognition, cash, and the chance to get your game on Steam.
> > > $5K grand prize plus 10 genre and skill prizes. Submit your demo
> > > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> ------------------------------------------------------------------------------
> > Own the Future-Intel(R) Level Up Game Demo Contest 2013
> > Rise to greatness in Intel's independent game demo contest. Compete
> > for recognition, cash, and the chance to get your game on Steam.
> > $5K grand prize plus 10 genre and skill prizes. Submit your demo
> > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Own the Future-Intel(R) Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest. Compete
> for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes. Submit your demo
> by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to