3 ms·
It should work on almost every binary. The exception are NSIS installers, self-extracting archives (exe rar files), files with IDL interfaces. When NSIS start
by slezyr 9y ago
It should work on almost every binary.
The exception are NSIS installers, self-extracting archives (exe rar files), files with IDL interfaces.
When NSIS starts they will try to open it's own exe file and find the section in which it's packed data is stored. But UPX will remove those sections and create .UPX section with compressed data.
- justinfrankel 9y agoYou can actually set NSIS to UPX-pack its stub, if you're so inclined, but the stub is pretty small already.
- slezyr 9y agoThis isn't what I meant. If you try to run UPX on someones NSIS installer the resulting file will fail to launch.
- kronos29296 9y agoWhen I first found upx I did this a couple of times only to fail pretty badly and then I stopped doing it. This was like 7-8 years ago when I first tried the portable version. Never found the cause till today.
- jacobush 9y agoHmm, works for me tho