Archive: Nsis Compile Faster ?


Nsis Compile Faster ?
Is there a way to get nsis to compile faster ?
If so please tell me :)

Because once it reaches the thousand + mark or even a little under that being the number of files
it slows down way down

i can make breakfest nd coffee and come back and it's still compiling :(

um i can also do other things on my system at the same time like 5 other tasks at the same time
Is there a way to make it hump and bump ?
go faster ?
I'm pushing near 9,000+ files for my install
actually 8,969 files as of right now and i need to add another like 650 on top of that giving me 9,619 to
install and compile and uninstall

please let me know the secrets for a Faster Compile
thank you in advance.
:igor:


You may try different compression methods or run test installers without compression.


Right now i'm currently doing this with no compression at all.

I could expect the compression portion to be way slow but not the uncompressed ?


If it has to open and include thousands of files that can take a while, there is nothing that can be done about it.


Isn't it possible to add a way to precompile some of the files into one archive (compressed or not) that the compiler can append directly to the stream?
Like that NSIS would be able to compile much faster by only compiling the changed files.


fabiochelly

for some reason we are always on the same wave length..
we think alike for some reason hehe.

we need to talk and hang out somtime :):D :p ;) :)


Of course it's possible, but it would take a lot of time to write something like that.


Compile using a DOS box and not MakeNSISw. For long logs, it should speed up things when reaching the end. However, you won't be able to see the start of the log. You can also set verbosity to 3 using !verbose.


If it seems that the compilation starts quickly then gradually slows, using SetDatablockOptimize off might help.


this setting
SetDatablockOptimize off
really cut down my compile time thanx
now instead of 3-5 minutes it's more like
30 or less seconds :D

kichik mentioned long logs
how does one go about not logging it at all ?

I placed the 2 settings at the very top of the script

SetCompress off
SetDatablockOptimize off

and it's alot faster Thanx


Using !verbose 3 you can disable the window log (except warnings and errors).


WOOT... SetDatablockOptimize off is the way to go.... with roughly 60000 (sixtythousend) Files it took 3 days to compile... now its a matter of Houres.