Archive: "no solid compression" special build


"no solid compression" special build
Does anyone know why the special build (http://nsis.sourceforge.net/download/specialbuilds/) that does not use solid compression for the bzip2 and lzma algorithms is implemented as a "special build" instead of a command in a script file? Is it possible that this feature could be integrated as an option into the main distribution?

This would be very helpful to me, as I need to make both large and small installers.


Just have two copies of makensis.exe, one that is the special build and one that isn't. You'll just have to copy and paste the exe when necessary.

-Stu


You'll just have to copy and paste the exe when necessary.

That is what I ended up doing, and it worked very well. At first I thought the special build downloads linked to an entirely separate installation of NSIS instead of just a new copy of makensis.exe (i.e. I thought I would have to uninstall one fully and install the other to switch between them.).

I'm still curious about why this particular option is only available at compile time for makensis.exe. Why is it, for example, that there is a SetCompressor <zlib|bzip2|lzma> command, but no SetSolidCompression <on|off> command?


I don't really know either, but there must be a very good reason for it. Similarely you cannot set the current NSIS_MAX_STRLENGTH without recompiling the makensis source.

-Stu


Some advanced features that require a different compiled installer header cannot be set during script compilation.


Actually, there is no technical problem to make it possible to enable and disable solid compression in the script. Time is the problem.


I think that a script command MaxStrLen should be a 'feature request' perhaps :)

That would be very very cool...

-Stu


I aslo hope SetSolidCompression <on|off> become a command. :)