Old 15th December 2004, 03:47   #1
Erpo
Junior Member
 
Join Date: Nov 2004
Posts: 10
"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.
Erpo is offline   Reply With Quote
Old 15th December 2004, 10:09   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 16th December 2004, 04:13   #3
Erpo
Junior Member
 
Join Date: Nov 2004
Posts: 10
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?
Erpo is offline   Reply With Quote
Old 16th December 2004, 09:33   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 19th December 2004, 21:11   #5
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Some advanced features that require a different compiled installer header cannot be set during script compilation.
Joost Verburg is offline   Reply With Quote
Old 4th January 2005, 12:52   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Actually, there is no technical problem to make it possible to enable and disable solid compression in the script. Time is the problem.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 4th January 2005, 20:35   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I think that a script command MaxStrLen should be a 'feature request' perhaps

That would be very very cool...

-Stu
Afrow UK is offline   Reply With Quote
Old 5th January 2005, 02:28   #8
bluenet
Senior Member
 
Join Date: Mar 2004
Posts: 138
I aslo hope SetSolidCompression <on|off> become a command.
bluenet is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump