Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Exclude LZMA (http://forums.winamp.com/showthread.php?t=379878)

JustinLane 1st December 2014 15:17

Exclude LZMA
 
If I compile an installer with zlib compression, does the binary output (install.exe) contain the LZMA decompression code even though it will not be used?

I ask as a client's legal department is stating that even with the license exception there are commercial distribution obligations of the LZMA binaries. I as a developer cannot see how this is the case given the wording but then I only deal in 1's and 0's.

My other option is to build the code from SVN without the LZMA code included. I then will have to deal with Legal on that matter as I would have potentially modified the NSIS code unless there is a config/makefile option to exclude it anyway.

Any help would be appreciated as I now may have to recode the installer in something else.

Thanks,
Justin...

Anders 1st December 2014 18:58

Makensis.exe contains code for all compression modes but the generated installer only contains code for one combination of zlib/bzip/lzma, solid/non-solid and ansi/unicode. You can see all of the base stubs in ...\NSIS\Stubs (12 in total for NSIS 3.0 32-bit)

The scons script also supports building only some of the stubs...


All times are GMT. The time now is 17:20.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.