in reply to Re^2: pp and setting Windows LegalCopyright in executable header
in thread pp and setting Windows LegalCopyright in executable header

That is the behaviour I have seen with all the tools for changing the exe header I have tried. The properties change, but the executable becomes corrupted with messages that look like:

format error: bad signature: 0x00004000 at offset 5069472 in file <my-file>

Oddly the executable appears to work, but these messages are a problem and may indicate a larger underlying issue.

  • Comment on Re^3: pp and setting Windows LegalCopyright in executable header

Replies are listed 'Best First'.
Re^4: pp and setting Windows LegalCopyright in executable header
by stevieb (Canon) on Dec 07, 2016 at 20:25 UTC

    You could always hardcode the licensing/copyright etc within the Perl code itself, and display it with a flag:

    perlscript.exe --version

    Possible output:

    (c) 2016 Company, Inc. License: Blah Version: 9999999999999999999999999999999.991/2