PDA

View Full Version : UPX Compression Failed



MSP
02-09-2009, 10:51 AM
Hello,
I am receiving an error when I try to build my project. The error is UPX Compression Failed Error 4201. It doesn't give me this error all of the time, and sometimes goes through fine without an error. The problem is in the compressing executable step of the build. I am running Vista and just started getting this problem when I switched over from XP. Any help or ideas on the topic ae greatly appreciated!

Thank you,
MSP

jassing
02-11-2009, 09:46 AM
Try disabling the use of UPX or get the latest version of upx.exe

MSP
02-11-2009, 02:20 PM
Where do I go to disable the UPX or find the upx.exe file?

MSP

jassing
02-11-2009, 03:08 PM
Where do I go to disable the UPX or find the upx.exe file?

MSP

You can get the latest upx here: http://upx.sourceforge.net/
I have been using it w/o issues.
You put the exe into your "tu\data" folder -- ie:
c:\program files\True Update 3.0\data
To disable it

open TU
open your project
select "Publish" from the menu and select "Settings"
On the "Output" tab (the one you'll be on) uncheck the "Compress client executable"
Click 'OK'


NOTE:
You don't gain much by using UPX other than a smaller EXE -- if the exe is compressed; then whatever you use to install it can't compress it; so you don't gain any space savings in an installer; but you do gain it if you're downloading it... Try using w/o the upx compression; then manually running upx on the resulting tu.exe file to see if you get any additional errors.