custom messagebox icon
hello friends,
i want to show the icon that i have used for installer .exe file on all my custom message boxes.
any help would be highly appreciated.
thanks.
Archive: custom messagebox icon
custom messagebox icon
hello friends,
i want to show the icon that i have used for installer .exe file on all my custom message boxes.
any help would be highly appreciated.
thanks.
You can have custom icons with the MessageBox plugin:
http://nsis.sourceforge.net/MessageBox_plug-in
any solution without plugin.
the example file "bigtest.nsi" has it implemented provided to us by NSIS.
but i don't know how.
please guide me.
thanks.
Where in bigtest.nsi do you see a custom icon?
Or do you mean the icon in the titlebar?
That icon is the same as the installer, which is set using the "Icon" command.
yes, the icon in the title bar.
i want that in my custom message boxes.
i tried using "Icon" command but it didn't work.
I'd like to bring up this topic again.
In installer message boxes (telling user about various errors), I want the installer icon in the titlebar. I need the same icon as in the installer (defined by MUI_ICON).
By default, there is no icon.
It seems a pretty common task.
Is there a solution to this without the plugin?
You do get the icon in the task bar of the message box unless you are in .onInit. In .onInit, the main UI has not yet been initialised (message boxes inherit their icon from their parent window).
Stu