Corry, Davidson wrote: > I need to substitute a call out to an .exe for a WiX dialog. > > Specifically, where I would normally be using CustomizeDlg.wxs in the dialog > chain, I want instead to invoke the .exe. Based on the return code from the > .exe, I want to either go back to the previous dialog, forward to the next > dialog, or cancel the installation. That is, the rest of the dialog chain > should not know or care that I'm stepping outside of "real" MSI dialogs. >
There's no support in MSI for capturing a custom action's exit code. You can write the UI in a DLL custom action instead, and have it set properties. Forewarned: You'll run into complications because the "previous" dialog will be visible and "running" while your CA is running. At a certain point, you might find it easier to write an external UI handler and handle the whole UI in custom code. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users