Sounds to my like you've tried all the "usual suspects".

I was going to suggest the Active State PDK (Perl Dev Kit), but I went to the AS website and evidently they no longer sell licenses as a standalone product. That vastly increases the cost. I bought a license 15+ years ago, sure hope that I can continue to get updates because this thing works amazingly well with many features that the open source packaging tools don't have.

I think you are probably aware of this, but for others, here is the official link to the PE spec: MS PE/COFF specification. Yes, it is complex. I suspect that some sort of checksum or what MS calls the Authenticode PE Image Hash is not being updated correctly. That sounds it would cause the "exe actually works, but throws a bunch of error msgs" problem.

There is a report from stevieb that VS 2013 has some sort of issue with modifying the .exe header information. That surprised me. Whether or not VS would work in your situation probably has to do with the compiler,linker,etc that you are using to generate the .exe.

I don't know how interested you are (meaning how much work you want to put into this), but since the specs are public information, an effort to update the appropriate Perl module would in theory succeed. I would be willing to assist.


In reply to Re^2: pp and setting Windows LegalCopyright in executable header by Marshall
in thread pp and setting Windows LegalCopyright in executable header by mpmcgill

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.