BAFunctions are a bit new, so the documentation is sparse. I believe you just 
need to include your DLL in your bundle and have it saved in the payload root 
with the bafunctions.dll name. 

There should be an example in \src\burn\Samples\bafunctions.

-----Original Message-----
From: Jun Yin [mailto:jun...@microsoft.com] 
Sent: Monday, February 24, 2014 5:02 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] Implementing IBootstrapperBAFunction in bafunctions.dll

By reading the source code of StdWixBA.dll, I found that StdWixBA.dll could 
optionally load bafunctions.dll for extension.

    HRESULT LoadBootstrapperBAFunctions()
    {
        HRESULT hr = S_OK;
        LPWSTR sczBafPath = NULL;

        hr = PathRelativeToModule(&sczBafPath, L"bafunctions.dll", m_hModule);
        BalExitOnFailure(hr, "Failed to get path to BA function DLL.");

...
        if (SUCCEEDED(hrStatus) && m_pBAFunction)
        {
            m_pBAFunction->OnDetectComplete();
        }

However, I have troubling finding the documentation or example to implement 
IBootstrapperBAFunction to hook up with StdWixBA.dll.

Where can I find such documentation or example?

Thank you,
Jun
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize 
your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&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