Debian Codegraph @

Contrib/Splash/Example.nsi

raw
1 Name "Splash.dll test"
2
3 OutFile "Splash Test.exe"
4
5 XPStyle on
6
7 Function .onInit
8 # the plugins dir is automatically deleted when the installer exits
9 InitPluginsDir
10 File /oname=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
11 #optional
12 #File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"
13
14 splash::show 1000 $PLUGINSDIR\splash
15
16 Pop $0 ; $0 has '1' if the user closed the splash screen early,
17 ; '0' if everything closed normally, and '-1' if some error occurred.
18 FunctionEnd
19
20 Section
21 SectionEnd