in reply to Icon for pp on Strawberry

FWIW, in Re^2: How do I replace the camel icon on Windows exe built with pp?, fellow monk "swl" pointed out http://www.zewaren.net/site/?q=node/116, which shows how to hack and rebuild PAR::Packer to change the default icon it embeds. I'm not sure how reliably that works, but it might be something to try.

Replies are listed 'Best First'.
Re^2: Icon for pp on Strawberry
by swl (Prior) on Jun 19, 2017 at 00:02 UTC

    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.