Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: kiwimenthe on May 30, 2008, 05:15:05 AM

Title: Compression Izma invalid
Post by: kiwimenthe on May 30, 2008, 05:15:05 AM
Hi !
As generated, in my script, I got the instruction:
Compression=Izma
 
But when compiling, I get the message Value of Compression=Izma invalid
 
Something is missing or do I have to look for something before ? what means 'Izma' ?
Title: Compression Izma invalid
Post by: Randem on May 30, 2008, 05:57:22 AM
Just showing one line of a script does not help. Please give more information. Such as Inno Setup version, the rest of the script etc...
 
It's like telling the Dr. I have a foot problem then only showing him one toe...
 
[Setup]: Compression
 
Valid values:
 zip
zip/1 through zip/9
bzip
bzip/1 through bzip/9
lzma
lzma/fast
lzma/normal
lzma/max
lzma/ultra   (review memory requirements below before using)
lzma/ultra64   (review memory requirements below before using)
none  
 
Default value:
 lzma  

 
Description:
This specifies the method of compression to use on the files, and optionally the level of compression. Higher levels compress better but take longer doing so, and may also require more memory while compressing/decompressing.
 
zip is the method of compression employed by .zip files (deflate). It is fast in both compression and decompression, and has very low memory requirements (less than 1 MB for both compression and decompression at level 9), but generally does not compress nearly as well as the other supported methods. zip has one unique property, though: unlike the other methods, it will not expand uncompressible data (e.g., files that are already compressed). If a compression level isn't specified, it defaults to 7.
 
bzip is the method of compression employed by the bzip2 compressor. It almost always compresses better than zip but is usually slower in both compression and decompression. Up to 4 MB of memory is required during decompression, and up to 8 MB during compression. If a compression level isn't specified, it defaults to 9.
 
lzma is the method of compression employed by the 7-Zip LZMA compressor. It typically compresses significantly better than the zip and bzip methods. However, depending on the compression level used, it can be significantly slower at compressing, and consume a lot more memory. The following table summarizes the approximate memory requirements for each of the supported lzma compression levels. If a compression level isn't specified, it defaults to max.
 
 Decompression (dictionary size) Compression  
fast (worst) 32 KB 3 MB  
normal 2 MB 26 MB  
max (default) 8 MB 95 MB  
ultra 32 MB 372 MB  
ultra64 (best) 64 MB 676 MB  
 
none specifies that no compression be used.
 
See also:
SolidCompression