Archive: status message


status message
I need my installer to pop up a "success" message window that closes automatically after some time (~1 sec).
The installer maybe unattended, so i need the "autoclose" feature because the installer would'n close if nobody clicks the "Ok" button...

Any suggestions ?


Maybe someone could write a plugin where you push the message, title, icon, buttons and timeout, and pop the result (if any).


[edit]Oops, didn't notice the message box part... If you insist on a message box you will have to use a plugin, otherwise you can print success using DetailPrint and use my method.[/edit]

No need for any plugins. Use SetAutoClose or AutoCloseWindow to automatically close the window. Before the window closes completely .onInstFailed or .onInstSuccess is called, in there you can use Sleep 1000 to wait one second.


Plugins in Visual Basic
Is there a way to write NSIS plugins in Visual Basic? I think that it would please a lot of Visual Basic programmers and a lot of people who need plugins, but I don't think it's possible.


AFAIK there is no way to create normal DLLs using VB, but I am not an expert of VB so I can't be sure...


yep! I've found that the code

Banner::show /NOUNLOAD "Installation completed!"
Sleep 2500
Banner::destroy

does exactly what I need, except for the "ok" button.
No matter.

But now I've found that the message seems to have some lenght limitations...


Yes, the message is limited by the dialog that is created in. You can change the UI if you want to a UI that has more space in dialog 111.