Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 Compress compiled files with UPX

closed
nobody
Client (19)
5
2011-06-29
2009-10-21
Anonymous
No

Compressing all the .exe, .dll, and .pyd files with UPX would reduces the hard drive footprint by 10MB. This should also have a size reduction on the installer exe.

Recommended compression lvel/type is "nrv2e" (LZMA compression could have some issues on some machines in our experience over at PortableApps)

Recommended UPX command line:

for /r %%e in (*.exe,*.dll,*.pyd) do upx.exe "%%e" --best --compress-icons=0 --nrv2e --crp-ms=999999

Or use the PortableApps.com AppCompactor:

http://portableapps.com/apps/utilities/appcompactor

Discussion

  • nabber00
    nabber00
    2009-10-24

    • status: open --> closed
     
  • nabber00
    nabber00
    2009-10-24

    Thanks I just added this to our build process. I skipped the .exe files since I wasn't seeing much of a gain. I got about a 15 MB savings, which is significant since the entire original build is about 45 MB. The installer is slightly smaller now too. Shaved about 2 MB off the .zip version.

     
  • nabber00
    nabber00
    2011-06-29

    • labels: --> Client