Erpo
15th December 2004 04:47 UTC
"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.
Afrow UK
15th December 2004 11:09 UTC
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
Erpo
16th December 2004 05:13 UTC
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?
Afrow UK
16th December 2004 10:33 UTC
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
Joost Verburg
19th December 2004 22:11 UTC
Some advanced features that require a different compiled installer header cannot be set during script compilation.
kichik
4th January 2005 13:52 UTC
Actually, there is no technical problem to make it possible to enable and disable solid compression in the script. Time is the problem.
Afrow UK
4th January 2005 21:35 UTC
I think that a script command MaxStrLen should be a 'feature request' perhaps :)
That would be very very cool...
-Stu
bluenet
5th January 2005 03:28 UTC
I aslo hope SetSolidCompression <on|off> become a command. :)