today I recognized what I think is a rather weired problem: I newly compressed some apps for the Win console and some GUI apps for the first time unter Win 8.1 x64 with the following settings:
upx.exe --ultra-brute --compress-exports=0 --strip-relocs=0 "%L"
Without the additional options the apps wouldn't start on Win 8.1, with they do. I tested the apps on Win XP and Win 7 x64 as well and all of the GUI apps worked without problems, but the console ones refused to start with a Windows error message about beeing unable to properly load the files.
The interesting part is that when I created the failing console apps with the same settings as above directly in Win 7 x64 they worked in Win 7, XP and Win 8.1. I would have suspected that using the same settings on Win 8.1 wouldn't make any difference for beeing able to run the files on older versions of Windows.
Afterwards I compressed the files with the following settings in Win 8.1:
upx.exe --ultra-brute --compress-exports=0 --compress-icons=0 --strip-relocs=0 "%L"
Those compressed apps did work on all mentioned platforms, therefore it seems that for my console apps I seem to need --compress-icons=0. However, the interesting part is that compressing the apps without --compress-icons=0 on Win 7 works for all mentioned platforms, whereas compressing them on Win 8.1 with the same settings only work on Win 8.1.
You may want to have a look at this, ask if I should provide more details.
Log in to post a comment.