Archive: plugins - solid compression - reservefile


plugins - solid compression - reservefile
hi,

i upgraded from 2.14 to 2.16 and my installer (15mb) is slower while clicking through the pages. im using solid lzma compression.

after looking into that issue it seems that the used plugins from my nsi script wont get automatically "reserved" as with "ReserveFile". if i use 'ReserveFile "${NSISDIR}\Plugins\StartMenu.dll"' in the .onInit function (and every other plugin im using), its blazing fast.

to not confuse/distract other users, is there any reason used plugin dll's shouldnt be automatically put at the beginning of the archive?

ps: im using "!AddPluginDir" for some homebrewn plugins, maybe thats an issue


another idea:

wouldnt a command/macro to extract all reserved files eg. in .onInit speed up the whole process?


It would be better to automatically move files around so extraction would be faster. However, that'd require quite some core changes in the code. I do hope to get to it some day, but currently it's not possible.

Regarding the slow after the move, maybe there's a new plug-in being used. Open $PLUGINSDIR while the installer is working and make sure every file in there is reserved.