merged from work
This commit is contained in:
21
KattekerCreator/nsis/Examples/Splash/Example.nsi
Normal file
21
KattekerCreator/nsis/Examples/Splash/Example.nsi
Normal file
@ -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\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
|
Reference in New Issue
Block a user