Here's what I remember about 3.7, I haven't used 3.8.  The m_fPrereq variable 
is associated with a managed bootstrapper.  m_fPrereq is essentially a boolean 
specifying whether the magic Burn variable WixMbaPrereqPackageId is set (that 
variable specifies the PackageId for .NET).  Since you're not using a managed 
bootstrapper, you probably shouldn't be setting that variable (I didn't have 
any problems with WixStdBA in 3.7 even with that set, though).
Sean

> Date: Wed, 14 Aug 2013 10:21:29 -0700
> From: phogl...@rimage.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] WixStdBA - LoadBootstrapperBA changes m_fPrereq
> 
> As I step through the Wix 3.8.722 code I observe in:
> src\ext\BalExtension\Wixstdba\WixStandardBootstrapperApplication.cpp
> 
> at line 916
> "
>        LoadBootstrapperBAFunctions();
> 
>         if (m_fPrereq)
>         {
>             hr = ParsePrerequisiteInformationFromXml(pixdManifest);
>             BalExitOnFailure(hr, "Failed to read prerequisite
> information.");
>         }
>         else
>         {
>             hr = ParseBootrapperApplicationDataFromXml(pixdManifest);
>             BalExitOnFailure(hr, "Failed to read bootstrapper application
> data.");
>         }
> "
> Prior to the call to LoadBootstrapperBAFunctions WinDbg shows m_fPrereq as
> undefined.  On entry to this function it is set to zero and when the
> function returns control to the next line (the if statement) m_fPrereq is a
> large positive number 1753485088 (but it is set to several other values as I
> step through LoadBootstrapperBAFunctions.  This is true even when there is
> no BAFunctions.dll specified.
> 
> As a result the first part of the if statement is always executed and
> ParseBootrappApplicationDataFromXML is always skipped.
> 
> 1) Is this correct logic?  It just seems wrong for a
> WixStandardBootstrapperApplication.HyperlinkLargeLicense BA.
> 
> 2) is ParseBootrappApplicationDataFromXML misspelled (missing the s)?
> 
> 
> 
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixStdBA-LoadBootstrapperBA-changes-m-fPrereq-tp7588034.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&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