|
|
|
|
#1 |
|
Junior Member
Join Date: Dec 2014
Posts: 1
|
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... |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
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... IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Tags |
| compression, license, lzma |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|