You are here

UPXing installers?

6 posts / 0 new
Last post
StephenQ
Offline
Last seen: 15 years 11 months ago
Joined: 2006-08-29 01:01
UPXing installers?

Hey there,
I hear UPX is a useful tool. I have various EXEs on my usb drive, and i was wondering what can be UPXed.
Will doing this an installer file make much difference? It does DLL's too?
What are the best switches to use? (--best?)

Dagenham
Dagenham's picture
Offline
Last seen: 1 year 4 months ago
Joined: 2007-03-23 06:19
Not really

Install packages are already compressed with several archivers, so you can UPX them, but this is mostly pointless - similar to zipping JPG files for example :).

UPX is capable to compress DLL files as well.

You can use the "--best" switch, but it's really slow, and not really worth it (additional 1..2% more compressing depending on the executable file of course).

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2007-09-20 21:34
actually

--ultra-brute is the best, but like the above post it is not normally worth it.

Please search before posting. ~Thanks

TaffinFoxcroft
TaffinFoxcroft's picture
Offline
Last seen: 10 years 5 months ago
Developer
Joined: 2006-12-14 17:24
not much of a difference

besides, anyway i havent had a good time when UPXing NSIS files.

But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.

Aciago
Aciago's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2007-01-24 14:23
I

already asked this before (search) and tried... it's useless and slow down the process to open an app when you double click on it...

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Bahamut
Bahamut's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2006-04-07 08:44
Do not UPX any installers or

Do not UPX any installers or launchers. They are already quite compressed and if the checksum they keep for embedded data fails (which will happen if you UPX the file), it will refuse to run without the /NCRC switch. UPX will also break difference-file autoupdate for Firefox and Thunderbird (to autoupdate, you would have to download the entire package for the new version instead of the smaller file).

I am working on a project that allows one to use UPX with TBP and FxP without keeping backups and still be able to use the smaller update archive.
https://portableapps.com/node/9807
http://sourceforge.net/projects/upxau
It is still in beta, so if you're not comfortable with non-final releases, you'll have to wait until I make a final release for 1.0. However, I would greatly appreciate it if you would test the beta. I am going to release beta 3 soon, and it has a lot more features and cool things than previous releases, so I recommend you wait until then to use it. I will make an announcement in the thread (you can also watch the SF project page).

As for switches, I use --best --all-methods. It seems to be a pretty good balance between speed and power (it is more on the power side, but usually worth the wait). Except for LZMA (which must be invoked with --lzma), decompression speed is always very fast, so don't hesitate to use --best or -9 because you think it might slow down decompression.

Vintage!

Log in or register to post comments