The CompressionType parameter can compress all files in a package except for Portable Executable files.
You can compress files when you have a large package and disk space is a top priority. Compression has a quick rate of decompression and little effect on most application startup times and memory consumption at runtime. Compression achieves similar compression ratios to the ZIP algorithm.
Compression Type | None | Fast |
---|---|---|
Size | 448,616KB | 257,373KB |
Compression Ratio | 100% | 57% |
Startup Time (first run) | 6 seconds | 6 seconds |
Startup Time (second run) | 0.1 seconds | 1 second |
Build Time (first build) | 3 minutes | 19 minutes |
Build Time (second build) | 2 minutes | 1.2 minutes |
Compression has some performance consequences and can affect the startup time on older computers or in circumstances in which you start the application multiple times and depend on the Windows disk cache to provide data for each start.
The CompressionType parameter does not affect MSI files. For information about compressing MSI files, see MSICompressionType Parameter.
ThinApp sets default values for the OptimizeFor parameter and the CompressionType parameter that work together to achieve maximum memory performance and startup time. ThinApp stores all data in uncompressed format.
[Compression] CompressionType=None
[BuildOptions] OptimizeFor=Memory
You can use this configuration when disk space is moderately important. Thinapp stores executable files in uncompressed format but compresses all the other data.
Optimizing for Moderate Disk Space Requirements
You can use this configuration when disk space is moderately important. Thinapp stores executable files in uncompressed format but compresses all the other data.
[Compression] CompressionType=Fast
[BuildOptions] OptimizeFor=Memory
Optimizing for Maximum Disk Space Requirements
You can use this configuration when disk space is the top priority. ThinApp compresses all files.
[Compression] CompressionType=Fast
[BuildOptions] OptimizeFor=Disk