4

I'm looking for a tool like Bitsum Technologies' excellent PECompact tool for compressing Windows executables, but which works with 64 bit binaries. Does such a tool exist?

Note: I don't care about the supposed obfuscation such a compressor provides; I'd simply like to reduce the size of my binaries.

Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
  • Why? compression defeats the file mapping mechanisms that allow the exe's to be directly paged - hence increase the swapfile usage and generally act as an anchor to system performace. – Chris Becke May 23 '10 at 18:43
  • @Chris Becke: Because many of my users are on Dial-Up connections, and PECompact drops the executable size from 1.2MB to 0.3MB for my 32 bit builds. – Billy ONeal May 23 '10 at 19:03
  • Zip files and self extracting installers have been used since before - well - almost everyone else switched from dialup to broadband. – Chris Becke May 23 '10 at 21:26
  • @Chris Becke: Yes, but that doesn't work as nice as PECompact. This app runs for less than a second -- performance is not a requirement whatsoever. I don't care how it performs in that respect, I just want the user to be able to download a smaller binary. Single binary xcopy deployment is important for this application. – Billy ONeal May 23 '10 at 21:35

1 Answers1

6

Yes; I believe that MPRESS will do the job just fine. And it works with .NET executables to boot!

Ben H
  • 3,136
  • 3
  • 25
  • 34
  • Does it operate by extracting the executable to a temporary directory or is the entire process in-memory as it is with UPX or PECompact? – Billy ONeal Jun 01 '10 at 01:27
  • It is in-place like UPX -- at least, as far as I can see. I compressed my local notepad.exe and ran it, went to task manager > processes > right-click on notepad.exe, properties, and it showed up as the original compressed executable, not a temporary file or stub. – Ben H Jun 01 '10 at 01:31