(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:
parent
8d6e3c56ed
commit
90d227e095
3 changed files with 5 additions and 3 deletions
|
@ -190,7 +190,6 @@ Function _systemSplashWndCB
|
||||||
goto default
|
goto default
|
||||||
|
|
||||||
m_Create:
|
m_Create:
|
||||||
|
|
||||||
; Create structures
|
; Create structures
|
||||||
System::Call "*${stRECT} (_) .R8"
|
System::Call "*${stRECT} (_) .R8"
|
||||||
System::Call "*${stBITMAP} (_, &l0 .R7) .R9"
|
System::Call "*${stBITMAP} (_, &l0 .R7) .R9"
|
||||||
|
@ -242,7 +241,6 @@ m_Create:
|
||||||
goto exit
|
goto exit
|
||||||
|
|
||||||
m_Paint:
|
m_Paint:
|
||||||
|
|
||||||
; Create structures
|
; Create structures
|
||||||
System::Call "*${stRECT} (_) .R8"
|
System::Call "*${stRECT} (_) .R8"
|
||||||
System::Call "*${stPAINTSTRUCT} (_) .R9"
|
System::Call "*${stPAINTSTRUCT} (_) .R9"
|
||||||
|
|
|
@ -115,9 +115,10 @@ enumex: ; End of drives or user cancel
|
||||||
|
|
||||||
; Logo
|
; Logo
|
||||||
File /oname=spltmp.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
|
File /oname=spltmp.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
|
||||||
|
; File /oname=spltmp.wav "${WINDIR}\media\Windows XP Startup.wav"
|
||||||
|
|
||||||
; I. systemSplash variant
|
; I. systemSplash variant
|
||||||
!insertmacro smSystemSplash 2000 "$TEMP\spltmp"
|
!insertmacro smSystemSplash 500 "$TEMP\spltmp"
|
||||||
|
|
||||||
; II. Splash Plugin variant
|
; II. Splash Plugin variant
|
||||||
; splash::show 2000 $TEMP\spltmp
|
; splash::show 2000 $TEMP\spltmp
|
||||||
|
@ -125,14 +126,17 @@ enumex: ; End of drives or user cancel
|
||||||
|
|
||||||
; remove logo
|
; remove logo
|
||||||
Delete $TEMP\spltmp.bmp
|
Delete $TEMP\spltmp.bmp
|
||||||
|
; Delete $TEMP\spltmp.wav
|
||||||
|
|
||||||
; Display splash result
|
; Display splash result
|
||||||
|
pop $0
|
||||||
MessageBox MB_OK "Splash (callbacks) demo result $R0"
|
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
|
; last plugin call must not have /NOUNLOAD so NSIS will be able to delete the temporary DLL
|
||||||
SetPluginUnload manual
|
SetPluginUnload manual
|
||||||
; do nothing
|
; do nothing
|
||||||
System::Free 0
|
System::Free 0
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
; eof
|
; eof
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue