Archive: Modern Style UI Example with Splash Screen?


Modern Style UI Example with Splash Screen?
was using joost's example script and added

  SetOutPath $TEMP
File /oname=spltmp.bmp "my_splash.bmp"

; optional
File /oname=spltmp.wav "my_splashshit.wav"

File /oname=spltmp.exe "C:\programme\nsis\splash.exe"
ExecWait '"$TEMP\spltmp.exe" 3000 $HWNDPARENT $TEMP\spltmp'
Delete $TEMP\spltmp.exe
Delete $TEMP\spltmp.bmp
Delete $TEMP\spltmp.wav


to the Function .onInit

the problem that now appears, is that the splash-screen runs, while one can already see the nsis window in the background. what do i have to do to make this window wait for the splash-screen to be close?

Are you sure you have added it to .onInit and not .onInitDialog?


/me wants to sink into the ground :rolleyes:

thanks kichik!