View Single Post
Old 11th September 2017, 08:11   #3
Major Dude
T.Slappy's Avatar
Join Date: Jan 2006
Location: Slovakia
Posts: 522
Send a message via ICQ to T.Slappy
There is no reason to develop new plugin or support the .png format. Existing NSIS plugin advsplash can do this for you:

PHP Code:
Function .onInit
Splash Bitmap
/oname=$PLUGINSDIR\splash.bmp "${SPLASH_BITMAP}"
advsplash::show 1000 1500 1500 0xFF00FF $PLUGINSDIR\splash
$; $0 has '1' if the user closed the splash screen early'0' if everything closed normally, and '-1' if some error occurred.
Delete $PLUGINSDIR\splash.bmp
The key is to set color which will be transparent: in this case it is 0xFF00FF.
Attached Thumbnails
Click image for larger version

Name:	splash.jpg
Views:	73
Size:	50.8 KB
ID:	53525  

Cool looking installer with custom design:
I offer NSIS scripting, C/C++/C#/Delphi programming:
Develop NSIS projects in Visual Studio 2005-2019:
or RAD Studio 2009, 2010, XE-10.3 Rio:
T.Slappy is offline   Reply With Quote