CompressionType
Previous  Top  Next

CompressionType - Controls what type of compression is used  
 
Thinstall supports 3 different compression models: None, Fast, and Small  
 
None - None is the default when capturing a package. This option is useful for building your application quickly for testing purposes. No compression also improves application startup time on older PCs, or when the application is launched multiple times. On subsequent executions of the same application, the Windows disk cache can provide data faster without compression enabled.  
 
Fast - This option is recommend for most packages. Fast compression has a very fast rate of decompression, so it has very little impact on application startup time; it also has very little impact on memory consumption at runtime. Fast compression achieves similar compression ratios as the ZIP algorithm. 
 
Small - This option is recommend when startup time is less important than package size. Small compression can achieve compression ratios slightly better than BZIP2.  
 
Sample compression ratios and startup times for Office 2003 package running from a local hard drive:  
 

None
Fast
Small
Size
448,616k
257,373k
228,235k
Compression ratio
100%
57%
50%
Startup time (1st execution)
6 sec
6 sec
19 sec
Startup time (2nd execution)
0.1 sec
1 sec
17 sec
Build Time (1st build)
3 mins
19 mins
13 mins
Build Time (2nd build)
2 mins
1.2 mins
1.1 mins
 
 
 
CompressionType can be specified in two places:  
 
1. Package.ini file: in this case, the compression type becomes the default for all files in the project unless otherwise specified  
2. ##Attributes.ini: in this case, the compression type overrides the compression algorithm for the present directory and all subdirectories. In the manner you can use different compression algorithms for different directories within a single project.  
 
 
Examples  
 
No Compression for fastest build time and fastest load time (default) 
[Compression]  
CompressionType=None  
 
Fast Compression for slow build time, good compression ratio, and fast load time 
[Compression]  
CompressionType=Fast  
 
Small Compression for medium build time, great compression ratio, but slow load time 
[Compression]  
CompressionType=Small  
 
See Also : BlockSize