Hi Blair, The following code is in SampleDLL.dll DLL Main() in c++ custom action project:
switch(ulReason) { Case DLL_PROCESS_ATTACH: { int ret = ::DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_DIALOG1), 0, DlgProc,0); } break; } BOOL CALLBACK DlgProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) { switch(Msg) { case WM_COMMAND: switch(LOWORD(wParam)) { case IDYES: { How to call bootstrapper methods here... } case IDCANCEL: { bRet = DestroyWindow(hWnd); break; } default: { break; } } } } On Mon, Dec 2, 2013 at 1:21 PM, Blair Murri <os...@live.com> wrote: > I was referring to the code in SampleDLL.dll. I assume you are not > creating your UI in DllMain(). There is a method that you export where your > UI is created that Burn calls. > > > Date: Mon, 2 Dec 2013 12:59:01 +0530 > > From: dileep.sanamp...@gmail.com > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] [WIX]: How to trigger my MSI file when I select > install option in Wix Custom Bootstrapper UI > > > > Hi Blair, > > > > I have created the C++ custom action project. > > Created Dialog Resource file. > > Created functions in C++ custom action DLL Main() to load the resource. > > Build C++ custom action project. > > > > Then, Added custom action dll into Bundle.wxs file. > > > > > > <BootstrapperApplication Id ="MyCustomBootStrapperID"> > > > > <Payload SourceFile="D:\SampleDLL.dll"/> > > > > </BootstrapperApplication> > > > > <Chain> > > > > <MsiPackage SourceFile=".\Setup.msi" DisplayInternalUI="yes" Id=" > > SetupPackageId" Cache="yes" Visible="no"/> > > > > </Chain> > > > > Using the above, I can able to load the UI. > > > > I have not getting any clue to use that burn install actions. > > > > > > > > Thanks in advance. > > > > > > > > > > On Sun, Dec 1, 2013 at 2:43 PM, Blair Murri <os...@live.com> wrote: > > > > > how did you load your BA? > > > > > > > Date: Fri, 29 Nov 2013 11:07:37 +0530 > > > > From: dileep.sanamp...@gmail.com > > > > To: wix-users@lists.sourceforge.net > > > > Subject: Re: [WiX-users] [WIX]: How to trigger my MSI file when I > select > > > install option in Wix Custom Bootstrapper UI > > > > > > > > Hi Blair, > > > > > > > > Thank you for the information.. > > > > > > > > Can you give some example to call the BootStrapper Install action > using > > > > PFN_BOOTSTRAPPER_APPLICATION_CREATE method . > > > > > > > > Please help me... > > > > > > > > Thanks in advance > > > > > > > > > > > > > > > > On Thu, Nov 28, 2013 at 2:20 PM, Blair Murri <os...@live.com> wrote: > > > > > > > > > When your PFN_BOOTSTRAPPER_APPLICATION_CREATE method (prototyped > in the > > > > > IBootstrapperApplication.h file) was called that you used to create > > > your > > > > > UI, you were passed an IBootstrapperEngine pointer. You call the > engine > > > > > methods directly on that interface pointer (which is defined in the > > > > > IBootstrapperEngine.h file). > > > > > > > > > > WixStdBA.dll is a BA that the toolset provides, but by writing > your own > > > > > you don't use it (except in the case where you are writing a > managed > > > BA) so > > > > > it is never loaded if you are using your own BA. > > > > > > > > > > If you are looking for example C++ code, you could look at the > sources > > > to > > > > > WixStdBA, because that is a BA written in C++. Another example is > the > > > > > WixExtBA project on codeplex. There may be others as well (although > > > most > > > > > examples I've seen are managed code instead of native code). > > > > > > > > > > -Blair > > > > > > > > > > > Date: Thu, 28 Nov 2013 12:43:53 +0530 > > > > > > From: dileep.sanamp...@gmail.com > > > > > > To: wix-users@lists.sourceforge.net > > > > > > Subject: Re: [WiX-users] [WIX]: How to trigger my MSI file when I > > > select > > > > > install option in Wix Custom Bootstrapper UI > > > > > > > > > > > > Hi Blair, > > > > > > > > > > > > Thank you for the information. > > > > > > > > > > > > Is there any examples in c++ to call Detect, then Plan, and then > > > Apply on > > > > > > the engine. > > > > > > > > > > > > We need to load the WixStdBA.dll and call the functions? or any > other > > > > > way? > > > > > > > > > > > > Please help me to solve this. > > > > > > > > > > > > Thanks in advance.. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Rapidly troubleshoot problems before they affect your business. > Most IT > > > > > organizations don't have a clear picture of how application > performance > > > > > affects their revenue. With AppDynamics, you get 100% visibility > into > > > your > > > > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > > > AppDynamics > > > > > Pro! > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Rapidly troubleshoot problems before they affect your business. Most > IT > > > > organizations don't have a clear picture of how application > performance > > > > affects their revenue. With AppDynamics, you get 100% visibility into > > > your > > > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > > > AppDynamics Pro! > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > ------------------------------------------------------------------------------ > > > Rapidly troubleshoot problems before they affect your business. Most IT > > > organizations don't have a clear picture of how application performance > > > affects their revenue. With AppDynamics, you get 100% visibility into > your > > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics > > > Pro! > > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > > Rapidly troubleshoot problems before they affect your business. Most IT > > organizations don't have a clear picture of how application performance > > affects their revenue. With AppDynamics, you get 100% visibility into > your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users