Thanks pyrt for link to that node.

You might have better luck getting the makefile approach in that link to work. For my use case I manually replace the pp.ico file with my own version when building PAR::Packer. It works well enough when there is only have one icon file to use across executables.

Some explicit commands to build using cpanm are:

:: Install the dependencies first cpanm --installdeps PAR::Packer :: Now manually install PAR::Packer cpanm --look PAR::Packer rename .\myldr\winres\pp.ico pp.ico.bak copy \path\to\my\icon.ico .\myldr\winres\pp.ico perl Makefile.PL :: if gmake is not available then use dmake instead gmake gmake test gmake install

If you want to use a different icon file for different exe files then you could probably have multiple PAR::Packer installations using a local lib approach. Others would be better placed to give examples of that, though.


In reply to Re^2: Icon for pp on Strawberry by swl
in thread Icon for pp on Strawberry by aplonis

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.