(brainsucker) new system build. now work's at the kichik's computer too :)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2377 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-03-26 23:00:53 +00:00
parent 8d6e3c56ed
commit 90d227e095
3 changed files with 5 additions and 3 deletions

View file

@ -190,7 +190,6 @@ Function _systemSplashWndCB
goto default
m_Create:
; Create structures
System::Call "*${stRECT} (_) .R8"
System::Call "*${stBITMAP} (_, &l0 .R7) .R9"
@ -242,7 +241,6 @@ m_Create:
goto exit
m_Paint:
; Create structures
System::Call "*${stRECT} (_) .R8"
System::Call "*${stPAINTSTRUCT} (_) .R9"

View file

@ -115,9 +115,10 @@ enumex: ; End of drives or user cancel
; Logo
File /oname=spltmp.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
; File /oname=spltmp.wav "${WINDIR}\media\Windows XP Startup.wav"
; I. systemSplash variant
!insertmacro smSystemSplash 2000 "$TEMP\spltmp"
!insertmacro smSystemSplash 500 "$TEMP\spltmp"
; II. Splash Plugin variant
; splash::show 2000 $TEMP\spltmp
@ -125,14 +126,17 @@ enumex: ; End of drives or user cancel
; remove logo
Delete $TEMP\spltmp.bmp
; Delete $TEMP\spltmp.wav
; Display splash result
pop $0
MessageBox MB_OK "Splash (callbacks) demo result $R0"
; last plugin call must not have /NOUNLOAD so NSIS will be able to delete the temporary DLL
SetPluginUnload manual
; do nothing
System::Free 0
SectionEnd
; eof