Solved :)

Using this:
catch (Exception ex)
            {
                WriteErrorLogInstall(session, "Method failed: ", ex, true);
                if (session != null)
                {
                     session.Message(
                       InstallMessage.User + (int)MessageBoxIcon.Error
                       + (int)MessageBoxButtons.OK,
                       new Record { FormatString = "Method failed: " +
ex.Message });
                }
            }

thanks all!

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-tp7584319p7584360.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

Reply via email to