Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

April 15, 2008

WriteExe file size?

Question:
When I call WriteExe, the output .exe file is about 992 k, but when I call WriteZip the .zip file is 376 k. Why is the .exe larger?

Answer:
The .exe created by WriteExe includes a constant amount of overhead, and this is for code that does the unzipping. Also, the .exe contains compressed charset data so that Unicode filenames may be unzipped properly regardless of the locale where the .exe runs. (Allowing for cases where a .exe created in Japan, for example, will unzip properly in Germany.)
The trade-off with the .exe is that for the extra few hundred KB’s you don’t need unzipping software and the files unzip properly for filenames in any language regardless of the locale of the computer and what code pages might be available.


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.