Old 19th May 2015, 00:02   #1
Junior Member
Join Date: Dec 2006
Posts: 17
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.
Kolya is offline   Reply With Quote
Old 19th May 2015, 01:00   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,189
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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 29th May 2015, 23:29   #3
Junior Member
Join Date: Dec 2006
Posts: 17
I looked at the banner plugins but in the end stayed with MessageBox solution which works fine for my needs.
Kolya is offline   Reply With Quote
Old 18th June 2015, 22:34   #4
Junior Member
Join Date: Jan 2008
Posts: 21
http://nsis.sourceforge.net/ThreadTimer_plug-in is your friend!
ahmett is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump