Archive: 7z compression level?


7z compression level?
Hi,

using 7-zip from 7.zip.org you have 5 compression levels : store, fast, normal, maximum and ultra. Which one does NSIS use? Is it possible to set the compression level?

Thanks,
Ingo


It doesn't use 7-zip, nor does it rate compression quality that way.

Read about SetCompresser in the documentation for information on the various compressers.


NSIS 2.0 supports LZMA compression, which is the main 7-zip method.

These 7-zip settings are actually settings for the dictionary size, see SetCompressorDictSize in the NSIS Users Manual.

The default (8 MB) is usually a good setting. Note that a higher dictionary size also increases memory requirements when decompressing.


Does anyone know how good NSIS LZMA compression is compared to 7-zip LZMA?


It would be the same provided that you use the same dictionary size.

Vytautas


works perfect! thanks