avast / pe_tools

A cross-platform Python toolkit for parsing/writing PE files.
MIT License
62 stars 13 forks source link

Resulting executable with --ignore-trailer doesn't run #6

Closed davidfraser closed 3 years ago

davidfraser commented 3 years ago

I have a large (785MB) executable that is a WiX-generated bootstrapper for a number of msi files. I want to edit the version info's File Description for this executable.

peresed works nicely for doing this, as long as the length of the string doesn't increase beyond 151 characters. If it does, the executable will no longer run at all. However, viewing the properties of the file you can see that the string has been set correctly.

avakar commented 3 years ago

Hi, can you link me to the executable and provide the precise command line you use?