21 lines
533 B
Plaintext
21 lines
533 B
Plaintext
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 |