There are two ways how to debug managed custom actions recommended by the DTF help. One is "attach to message-box", which I usually use. For instance, the line below shows the message box and contains the process to attach to in its caption:
System.Windows.Forms.MessageBox.Show("Stop for debugging: MyManagedCA", Process.GetCurrentProcess().ProcessName); This works in 100% cases for me. Hope this helps. -- Yan -----Original Message----- From: jballe [mailto:j...@visionpeople.dk] Sent: Tuesday, February 10, 2009 8:19 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction following specific CustomAction fails Rob Mensching-2 wrote: > > Uhh, it looks like you have failing CustomActions. > > Install1.log: > > Action start 09:12:39: UpdatePropsWithSelectedWebSite. > MSI (c) (1C:8C) [09:12:39:637]: Creating MSIHANDLE (30) of type 790542 for > thread 5772 > MSI (c) (1C:14) [09:12:39:638]: Invoking remote custom action. DLL: > C:\Users\jeb\AppData\Local\Temp\MSI59D7.tmp, Entrypoint: > UpdatePropsWithSelectedWebSite > MSI (c) (1C!AC) [09:12:39:678]: Creating MSIHANDLE (31) of type 790531 for > thread 3500 > MSI (c) (1C!AC) [09:12:39:678]: Closing MSIHANDLE (31) of type 790531 for > thread 3500 > MSI (c) (1C:14) [09:12:39:680]: Closing MSIHANDLE (30) of type 790542 for > thread 5772 > Action ended 09:12:39: UpdatePropsWithSelectedWebSite. Return value 3. > Yes but as I wrote: Even though I add System.Diagnostics.Debugger.Launch() to my managed CustomActions the debugger is not launched if the OpenFileDialog has been opened. But note, everything is working as expected if the OpenFileDialog is not executed. These managed custom actions only fails when the c++ action is executed earlier during the installation process. -- View this message in context: http://n2.nabble.com/CustomAction-following-specific-CustomAction-fails- tp2292259p2304072.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users