Archive: process running in background of the splash image


process running in background of the splash image
I use the following code to show the splash image for 3 seconds before installation. After the splash image shown, the installer needs to do some preparation before the real installation, such as file deleting and copying. It consumes almost 5 seconds. You can expect that the real installation will go in 8 seconds after you run the installer (3 seconds for splash image + 5 seconds for preparation). Now I want to reduce the time such that the preparation can work in the backgroup during the splash image shown. So the real installation will go 5 seconds after running the installer with a splash image shown. Is it possible to do that? How?


Function .onInit
SetOutPath "$TEMP"
File /oname=spltmp.bmp ${SPLASH_IMAGE}
splash::show 3000 $TEMP\spltmp
Pop $0
Delete $TEMP\spltmp.bmp
FunctionEnd


I think that would require some changes to the source code as the Splash screen pauses execution.

Here's an idea, but it might require quite a bit of work.
Modify the UI 111 resouce with Resource Hacker, and put a bitmap control on it. Then use the Banner plugin to display it.

-Stu


You can use the BgImage plug-in as a splash screen.


This worked on my home XP.