I would like to try the option of change the prereq-BA to a different native BA 
which do the precheck. I don't have much knowledge about how BA. Do I need to 
modify wix source code to achieve this? Could you give me some more details on 
how to do it? 

1. Which interface my prereq BA needs to implement.
2. How to configure the bundle.wxs to use my customized prereq BA.

Is there any example I can take a look at?  

Thanks for the great help,

Nan

-----Original Message-----
From: Blair Murri [mailto:os...@live.com] 
Sent: Tuesday, August 20, 2013 12:05 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Burn: Bundle condition does not work if using MBA

The error message is from Windows (ERROR_OLD_WIN_VERSION).
 
The only other possibility would be to change the prereq-BA to a different 
native BA that would determine the applicability of your installation attempt 
and present the appropriate error message before the prerequisites are 
installed. Or alter the current stdba (which is the current mbapreq using a 
different codepath) to add that feature. I would suggest if you go that route 
that you also update WixBalExtension and add a bal:PrereqCondition mirroring 
the current bal:Condition.
 
> From: naz...@microsoft.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 20 Aug 2013 06:33:18 +0000
> Subject: Re: [WiX-users] Wix Burn: Bundle condition does not work if 
> using MBA
> 
> I tried it, however it doesn't work fully for my case. Besides the OS 
> version, I also need to check the architecture of the OS. I want to block 64 
> bit package to be installed on a 32 bit OS.  If I set the condition, the 
> installation will be blocked, however, I didn't see I can customize the 
> error, I always get "The specified program requires a newer version of 
> Windows." 
> 
> For the bundle\@condition, is that possible I can customize the error 
> message? Or, any other way to do it?
> 
> Thanks,
> Nan
> 
> -----Original Message-----
> From: Blair Murri [mailto:os...@live.com]
> Sent: Monday, August 19, 2013 10:46 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Wix Burn: Bundle condition does not work if 
> using MBA
> 
> Bundle\@Condition attribute.
>  
> The limited conditions it can evaluate include OS.
>  
> > From: naz...@microsoft.com
> > To: wix-users@lists.sourceforge.net
> > Date: Tue, 20 Aug 2013 05:12:55 +0000
> > Subject: Re: [WiX-users] Wix Burn: Bundle condition does not work if 
> > using MBA
> > 
> > Hi,
> > 
> > I met with the same problem with the MBA precheck. Definitely, I can have 
> > the code in my MBA to check the pre conditions, however, I think the 
> > following scenario is totally broken.  Eg. We want to block installation of 
> > our product on the OS vista or before. 
> > 
> > A user uses a vista machine without .net 4.  User downloads the package and 
> > clicks install. To load MBA, the setup will guide user to install .Net 4 
> > and after installing .net 4, the setup will tell the user, sorry, wrong OS. 
> >  I think this is a horrible user experience, and I really want to do better 
> > here. Is there any possible way to handle the above situation? Any precheck 
> > I can do except having it in my MBA.
> > 
> > Many Thanks,
> > Nan
> > 
> > 
> > 
> > -----Original Message-----
> > From: Phill Hogland [mailto:phogl...@rimage.com]
> > Sent: Friday, August 2, 2013 6:13 AM
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] Wix Burn: Bundle condition does not work if 
> > using MBA
> > 
> > The WixBA at src\Setup\WixBA is the C# managed BA that is used by the 
> > installer that installs the toolset.  The Bundle does not have a 
> > bal:Condition in it and as far as I can tell there is nothing directly 
> > related to Bal:Condition in WixBA.  However I think what folks have 
> > suggested is that one could look at how the processing of bal:Condition is 
> > implemented in the C++ WixStdBA at src\ext\BalExtensions\wixstdba and using 
> > that functionality as a pattern implement something like that in the 
> > managed BA that you are writing.  I think one would want to look at 
> > EvaluateConditions in WixStandardBootstrapperApplication.cpp for a starter.
> > 
> > 
> > 
> > --
> > View this message in context: 
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Bu
> > rn 
> > -Bundle-condition-does-not-work-if-using-MBA-tp7581757p7587777.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> > 
> > --------------------------------------------------------------------
> > --
> > -------- Get your SQL database under version control now!
> > Version control is standard for application code, but databases havent 
> > caught up. So what steps can you take to put your SQL databases under 
> > version control? Why should you start doing it? Read more to find out.
> > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg
> > .c lktrk _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> > 
> > 
> > 
> > --------------------------------------------------------------------
> > --
> > -------- Introducing Performance Central, a new site from 
> > SourceForge and AppDynamics. Performance Central is your source for 
> > news, insights, analysis and resources for efficient Application 
> > Performance Management.
> > Visit us today!
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg
> > .c lktrk _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>                                         
> ----------------------------------------------------------------------
> -------- Introducing Performance Central, a new site from SourceForge 
> and AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> ----------------------------------------------------------------------
> -------- Introducing Performance Central, a new site from SourceForge 
> and AppDynamics. Performance Central is your source for news, 
> insights, analysis and resources for efficient Application Performance 
> Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and AppDynamics. 
Performance Central is your source for news, insights, analysis and resources 
for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to