[wix-users] How do I obtain my BA's reference to the WiX Command object from inside the OnDetect() method of the CWixBootstrapperBAFunction object?

Griesshammer, Christoph (GE Healthcare) christoph.griesshammer at ge.com
Mon Aug 31 10:15:11 PDT 2015


Thank you Phill. I appreciate that help. It worked no problem.

Unfortunately, it didn't help me try to solve the problem I'm working on. 

I have been following your guidance on how to implement BAFunctions.dll to set a property that my bundle will be able to use to detect a silent installation. Thank you for the guidance there so far as well. (For anyone looking at this archived, that was a thread a couple days ago "Disallowing bootstrapper UI install "). I'm struggling with how to get access to the Command object, that will allow me to access the command-line and/or the Display objects associated with that object.

I know you indicated it's all very fuzzy in your mind, but would you have any guidance on that object? I can't find any documentation anywhere.

Thank you,
Christoph

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Monday, August 31, 2015 12:54 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Debugging BAFunctions.dll

It has been a long while since I last did this, but IIRC:
Add the DebugBreak() (documented in MSDN) to the handler that you want to break into and compile the BAFunctions.dll using the a debug build.
You can either configure VS in Options\Tools\Debugging\Symbols to include the path to the BAfunctions.pdb file, or modify your Bundle wxs, where you import the bafunctions.dll, also add a Payload to import the pdb files.
Compile the bundle and launch it (with the VS BAfunctions.dll project open, and when the code hits the DebugBreak() you should have an opportunity to attach the debugger). 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Griesshammer, Christoph (GE Healthcare)
Sent: Monday, August 31, 2015 11:30 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Debugging BAFunctions.dll

Can anybody give me information on how to get debugging working for BAFunctions.dll?

Thank you,

Christoph Griesshammer


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=BQICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=-l6_npd-dx-ekbVSbypvaw-IcErQ11UE3f78jQgrCDw&m=GKLFeuT2TuNTAqsSur8lvH0n2kCP1BsKfYhBa6IS3cw&s=4_dNWaOqLccqBaxJAJ5E_8m6H3-QvFHiZcWhC3F8YaU&e= 

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=BQICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=-l6_npd-dx-ekbVSbypvaw-IcErQ11UE3f78jQgrCDw&m=GKLFeuT2TuNTAqsSur8lvH0n2kCP1BsKfYhBa6IS3cw&s=4_dNWaOqLccqBaxJAJ5E_8m6H3-QvFHiZcWhC3F8YaU&e= 


More information about the wix-users mailing list