
brian.tucker791.552491386176503E12 asked a question.
messagebox popping up in the background
I am using an installscript method and custom action to check for running software
When MessageBox pops up as a warning or as severe its popping up in the background and hiding the setup.exe icon from the task bar.
This creates the illusion that the installer has crashed.
Is there anything that can be done to make this pop up in the foreground consistently?
I have bound a DoAction call to the install button that calls the custom action to check for the running application.
If I have an abort present after my MessageBox("Error Message", SEVERE);
then the dialog displays as expected and aborts the installation.
If I do not have the abort present the dialog does not display at all and allows the install even though the appropriate condition was present to pop the dialog and prevent installation.
I want it to basically block install until the condition is met so it does not pop the dialog.