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

Reply via email to