Skip to content
⌘ NSIS Forum Archive

Just Splash Screen Wizard

3 posts

ViviGamer#

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#
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=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
    #optional
    #File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"
    splash::show 1000 $PLUGINSDIR\splash
    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