diff --git a/Contrib/Splash/Example.nsi b/Contrib/Splash/Example.nsi new file mode 100644 index 00000000..f59620ae --- /dev/null +++ b/Contrib/Splash/Example.nsi @@ -0,0 +1,21 @@ +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\Makensisw\logo.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 normal, and '-1' if some error occured. +FunctionEnd + +Section +SectionEnd \ No newline at end of file