Me dad was complaining that his Firefox takes ages to start up and didn’t want to run yet another application in the background.
So I hit google and came up with UPX, Ultimate Packer for eXecutables. What it does, is very simple: It compresses the .exe and all the DLLs associated with said .exe! Thus reducing its total size and load time.
- Download UPX and unpack the upx.exe into your Firefox folder, usually it’s C:\Program Files\Mozilla Firefox.
- Close Firefox, and make sure its not running by checking the task manager
- Start the command prompt, the cmd.exe in ADMIN MODE!
- go to C:\Program Files\Mozilla Firefox in cmd.exe
- enter this command and execute it
for %v in (*.dll *.exe
\*.dll components\*.dll) do upx "C:\Program Files\Mozilla Firefox\%v" -9
Should you, for whatever reason, need to decompress and get the original files back, run this command
for %v in (*.dll *.exe plugins\*.dll components\*.dll) do upx "C:\Program Files\Mozilla Firefox\%v" -d
What does it do?
It compresses all the DLLs and all the *.exe in C:\Program Files\Mozilla Firefox, then it goes to C:\Program Files\Mozilla Firefox\plugins and compresses all the DLLs, lastly it goes to C:\Program Files\Mozilla Firefox\components and compresses the DLLs in there. The -9 is for the best possible compression. The -d is for decompression.
The best bit?
UPX is usable on any other application you have. As long as they have *.exe and DLLs, you can use UPX on it.