10

What are the best settings for the smallest file size output?

enter image description here

That can equal or surpass this setting in FreArc

enter image description here

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
DDoS
  • 361
  • 3
  • 13

1 Answers1

19

For the best compression use:

[Setup]
SolidCompression=yes
Compression=lzma2/ultra64
LZMAUseSeparateProcess=yes
LZMADictionarySize=1048576
LZMANumFastBytes=273

With this settings, you will need up to 11 GB of memory on the machine that runs the compiler; and up to 1 GB of memory on the system that runs the installer.

For details, refer to the Compression directive documentation.


Though I'm not sure, if you can match FreeArc even with this settings.

If you want to use FreeArc compression, use unarc.dll.


Note that ISTools does not allow the lzma2, as that was introduced in the Inno Setup 5.3.9. Always use the latest version of Inno Setup.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992