updated splash to new exdll. made it so that it always pushes status to the stack even if error occured

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1127 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-09-21 19:09:51 +00:00
parent 782ff9a7aa
commit f556e3d8fa
3 changed files with 16 additions and 39 deletions

View file

@ -18,6 +18,10 @@ Function .onInit
; File /oname=spltmp.wav "my_splashshit.wav"
splash::show 1000 $TEMP\spltmp
Pop $0 ; $0 has '1' if the user closed the splash screen early,
; '0' if everything closed normal, and '-1' if some error occured.
Delete $TEMP\spltmp.bmp
; Delete $TEMP\spltmp.wav
FunctionEnd
@ -29,7 +33,7 @@ the .bmp). The BMP file used will be this parameter.bmp, and the wave file used
(If you already have an .onInit function, put that in it)
Note: the return value of splash.exe is 1 if the user closed the splash
Note: the return value of splash is 1 if the user closed the splash
screen early (pop it from the stack)
-Justin