I thought I would add a splash image to my installer, and so I used code that I found here, and put it in .onInit:
The problem is, that since I did this, upon opening the installer, a "Please wait while files are extracted"(or similar) messagebox pops up, and it takes maybe a minute for it to count from 0% to 100%, and then show the splash image.
InitPluginsDir
File /oname=$PLUGINSDIR\splash.bmp "splash.bmp"
advsplash::show 4000 640 480 -1 $PLUGINSDIR\splash
Pop $0
If I remove the splash code, the installer opens immediately.
-If the splash thingy is making the installer this 'heavy', I can't say I think it's worth it.
The image is pretty small(in my opinion) at 640x480, but since it's a .bmp it's at over 1MB still.
I think I read somewhere that one could 'reserve' files, and that that would make the installer 'faster'. Does this apply here? Or would it only make it compile faster?
I'm using LZMA compression, if that's related.
It seems it has to extract the bitmap on load, and that this process takes maybe a minute.
So is there any way to speed this up?
Why isn't it possible to use a .jpg, btw?
Thanks. 🙂