ReserveFile with InitPluginsDir ?
I may have several misconceptions. Firstly, if a file is a DLL, not to reserve it, because you don't have to.
Secondly, that when files are in .onInit after InitPluginsDir, they also do not require insertion as a ReserveFile.
InitPluginsDir
SetOutPath "$PLUGINSDIR"
StrCmp $LANGUAGE 1031 +4
File "/oname=$PLUGINSDIR\modern-wizard.bmp" "tigws.bmp"
File "/oname=$PLUGINSDIR\fmodern-wizard.bmp" "tigfs.bmp"
Goto done
File "/oname=$PLUGINSDIR\modern-wizard.bmp" "tigwgs.bmp"
File "/oname=$PLUGINSDIR\fmodern-wizard.bmp" "tigfgs.bmp"
I remember reading about this, but I don't remember the answer. The thread was years ago.
The bmps are contained renamed in a $PLUGINSDIR folder inside the exe. It says they are LZMA:23 packed, whether I reserve the pre-renamed files or not.
Is there a time-tested way to define reserve files?
From time to time I see a flickering of the 'Loading ...' banner. The present installer is 10Mb. Reserving the images would increase the size by 500Kb. Non-solid compression however, increases the size to 13Mb. I can't tell if I'm rewarded by faster extraction. Downloading will certainly take longer. I'm guessing there's no chance of the bad banner.