Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

7zip and peazip sfx size differs

silentcon's picture
silentcon - January 23, 2009 - 9:20pm

I can't give you raw data but you might as well try it. peazip's sfx are a little bit smaller than 7zip's sfx.

---

Can you explain why?


( categories: )

I believe it's because peazip

I believe it's because peazip includes upx in their package to decompress and compress exe files. so one would assume then Gorgiotani may of implemented the ability to use upx on the sfx'd exe when it is created making the exe smaller

your friendly neighbourhood moderator Zach Thibeau

Since i don't know what is

Since i don't know what is the best file to put to test, i'll just use a blank folder.
7zip:137kb
Peazip:78kb
7zip w/upx:64.5kb

i used upx -9.

As correctly Zach Thibeau

As correctly Zach Thibeau guessed, for PeaZip I compressed the sfx modules (edit: but not the final executable) with UPX.

The difference in size in your test is due to two factors: I've replaced the 7z's sfx icon with a larger true color icon, and probably you got some KB of better compression using the latest version of UPX which compresses a bit better than the version I've used when I compressed the modules.

Developer of PeaZip project