Archive: Installer End Splash


Installer End Splash
I have created a "End Splash" (sort of like the ones created from the DemoShield installers, telling the person installing the proggie what they use to install it), but it has a little problem. After the installer installs (you get that??), it still leaves the window open then runs the splash, then closes. That is fine, but I would really like it if I could have the program closed or minimized to run the splash.

On another note, I want to create funny passages in the image file, so submit your own passages in this thread.

-Duane

The First Installer End Splash can be downloaded here.


Use HideWindow.

Function .onUserAbort
SetOutPath $TEMP
File /oname=spltmp.bmp "nsis-mmmmtasty.bmp"

File /oname=spltmp.exe "C:\program files\nsis\splash.exe"
HideWindow
ExecWait '"$TEMP\spltmp.exe" 2000 $HWNDPARENT $TEMP\spltmp'
Delete $TEMP\spltmp.exe
Delete $TEMP\spltmp.bmp
FunctionEnd

Function .onInstSuccess
SetOutPath $TEMP
File /oname=spltmp.bmp "nsis-mmmmtasty.bmp"

File /oname=spltmp.exe "C:\program files\nsis\splash.exe"
HideWindow
ExecWait '"$TEMP\spltmp.exe" 2000 $HWNDPARENT $TEMP\spltmp'
Delete $TEMP\spltmp.exe
Delete $TEMP\spltmp.bmp
FunctionEnd