Archive: LZMA compress parameters


LZMA compress parameters
Hi,

Is it possible to specify LZMA compress parameters?
With the internal parameters used by NSIS for LZMA, I can create smaller setup files with innosetup if I compress in 7-zip SFX the files with those parameters:

-m0=BCJ2 -m1=LZMA:d23 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 -mx=9


You can't set anything but the dictionary size for the internal compression, but you can easily create an SFX that wraps the NSIS installer just like ISTool does for InnoSetup. Just use:

SetCompressor zlib
SetCompress off

And pack the result in the SFX.


You are using BCJ2, which is currently not supported.