jai123
25th July 2011 15:45 UTC
Force dialog at the top
Hello,
I am displaying a message box as follows:
# Assures that current Windows Version is supported.
${IfNot} ${AtLeastWin2000}
messageBox MB_OK "Windows Version not supported. Update to XP or newer version."
Abort
${EndIf}
Another installer calls the executable that runs this code, as a result the message box ends up being hidden in the back of the original installer program. Is there a way to force the message box at the top of the rest of the windows? Kind of a modal window but not in the same process.
MSG
25th July 2011 16:31 UTC
Random question: Can't you just check for win2k+ in the other installer, before you execute? >_>
jai123
25th July 2011 17:13 UTC
That would be an approach; however, we are planning to get rid off the master installer in a couple of months, and we have several message boxes in the secondary installer. So in the mid time, I would rather keep all the right checks in the right installer.
demiller9
25th July 2011 18:52 UTC
Read the options available for MessageBox and see if MB_TOPMOST will work.