Hi all, I have a Custom Action DLL (C#)
Within the Welcome page to the "ready to install" page I have been able to populate a MSI Property for any error messages/exceptions that are caused by the Custom Action calls.. i.e. At beginning of the Custom Action method: SetSessionProperty(session, "CUSTOM_ACTION_ERROR", "1"); within the Catch of the exception: SetSessionProperty(session, "CUSTOM_ACTION_ERROR", "0"); SetSessionProperty(session, "CUSTOM_ACTION_ERROR_MESSAGE","Message for the generic error dialog" + ex.message); then in the custom dialog WXS file I check when user select Next to see if the CUSTOM_ACTION_ERROR is 0, and then spawn the generic error dialog with the CUSTOM_ACTION_ERROR_MESSAGE This works great, during that time frame, but when the Progress dialog happens I can't do the same thing since I get an error within the custom action dll that "Cannot access session details from a non-immediate custom action" Does anyone know how I can pass along info back to the MSI during the Progress dialog or how to make the MessageBox modal to the MSI? thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Any-ideas-on-how-to-solve-MessageBox-focus-can-be-lost-using-Custom-Action-DLL-tp7584319.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users