Skip to content
⌘ NSIS Forum Archive

7z compression level?

6 posts

pozo#

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
nandhp#
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.
Joost Verburg#edited
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.