cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
overlord
Level 2

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?
Labels (1)
0 Kudos
(1) Reply
overlord
Level 2

Ok so to update - I have modified the way I am using this custom action. Instead of calling it after appsearch in the sequence
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.
0 Kudos