ViviGamer
8th September 2012 18:51 UTC
Just Splash Screen Wizard
I've got a problem. I just wanted to make the splash screen exemple, like, get that installer that appears after and just leave the splash. Is it possible?
Sorry, I'm dont speak english.
I need this Splash Screen for the next week, please help me.
T.Slappy
10th September 2012 07:22 UTC
Splash example
Yes, possible, the easiest way:
Name "Splash.dll test"
>OutFile "Splash Test.exe"
>XPStyle on
>Function .onInit
# the plugins dir is automatically deleted when the installer exits
InitPluginsDir
File/oname=$PLUGINSDIRsplash.bmp "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
#optional
#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"
splash::show 1000 $PLUGINSDIRsplash
Pop$0 ; $0 has '1' if the user closed the splash screen early,
;'0' if everything closed normally, and '-1' if some error occurred.
>FunctionEnd
Section
SectionEnd
>
Exact copy of
NSIS\Examples\Splash\Example.nsi
MSG
10th September 2012 09:14 UTC
T.Slappy: Your use of the php tag kills the backslashes in $PLUGINSDIR\Splash.