In v3.8, the BAFunctions.dll was added where you can provide a dll that
WixStdBA will call into for a few of the IBootstapperApplication events.
Sadly, there's not much documentation on this but there is a sample
directory at
https://github.com/wixtoolset/wix3/tree/develop/src/burn/Samples/bafunctions
.

If you really want to create your own native BA you could start with
WixStdBA and add what you need.
https://github.com/wixtoolset/wix3/tree/develop/src/ext/BalExtension/wixstdba

On Wed, Mar 18, 2015 at 5:59 PM, egcastr <egca...@gmail.com> wrote:

> My searchFu has not been particularly strong the last few days and I'm
> hopeful someone on this list can point me in the right direction.
>
> I need to call a C API as part of my bootstrapper to determine if a
> particular feature exists on chip. The result of the C API call will then
> be
> used to determine if one of my prerequisites should be installed or not.
> Today we use WixStandardBootstrapperApplication.HyperlinkSidebarLicense so
> keeping all that basic functionality would be a really nice to have. My
> initial knee jerk reaction was to try to write the equivalent of a burn
> custom action that could set a property that could be used in an
> InstallCondition but it appears this is not a valid approach. Instead it
> appears I need to write my own bootstrapper application. :-(
>
> I've been trying to search for a tutorial for newbies that explains how to
> write my own bootstrapper application. My searches have discovered a number
> of managed bootstrapper application tutorials, templates, etc., but I have
> not found anything for a native bootstrapper application which I think
> would
> be the prefered option if I need to create an entire bootstrapper
> application.
>
> How do I write/build a custom native bootstrapper application?
>
> Can I somehow update
> WixStandardBootstrapperApplication.HyperlinkSidebarLicense with my required
> C API call to determine whether one of the packages should be installed?
>
> --
> Edwin G. Castro
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Calling-C-API-in-WiX-Standard-Bootstrapper-Application-tp7599620.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to