Skip to content
⌘ NSIS Forum Archive

autoclose messagebox

4 posts

Kolya#

autoclose messagebox

Is there any way to close a messagebox short of user interaction?
I guess not because the installer seems to stop when a messagebox is thrown.
So is there way around that?

The thing is I'm doing a version check online oninit. This takes a few seconds during which the installer looks like it's doing nothing. I can throw a messagebox informing the user of what happens but I'd like to continue and autoclose the box when the check is finished.
Anders#
You are not really supposed to display UI in .onInit.

Have you looked at the banner plugins?

Using the BgWorker plugin on a custom page will probably work as well.
Kolya#
I looked at the banner plugins but in the end stayed with MessageBox solution which works fine for my needs.