Skip to content
⌘ NSIS Forum Archive

Splash EXE -> DLL

4 posts

RIV@NVX#

Splash EXE -> DLL

Function .onInit
  SetOutPath $TEMP
  SetOverwrite on
  File /oname=spltmp.bmp "4PSplash.bmp"
  File /oname=spltmp.wav "4PTheme.wav"
  File /oname=spltmp.exe "${NSISDIR}\NSIS\Plugins\Splash.exe"
  ExecWait '"$TEMP\spltmp.exe" 11500 $HWNDPARENT $TEMP\spltmp'
  Delete $TEMP\spltmp.exe
  Delete $TEMP\spltmp.bmp
  Delete $TEMP\spltmp.wav
FunctionEnd 
Now - can anyone rewrite that using DLL? I don't know how. And, if possible, using UberSplash with fading.
kichik#
UberSplash was replaced by AdvSplash by BrainSucker.

From AdvSplash.txt:
Function .onInit
  SetOutPath $TEMP
  File /oname=spltmp.bmp "my_splash.bmp"
; optional
; File /oname=spltmp.wav "my_splashshit.wav"
  advsplash::show 1000 600 400 -1 $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 
For more information on the numbers (1000 600 400 -1) refer to AdvSplash.txt which is available in the latest CVS version.
RIV@NVX#
Originally posted by kichik
UberSplash was replaced by AdvSplash by BrainSucker.
Version history in makensis.htm still says: added UberSplash.