in reply to Re^2: Perl exe as a service, stuck on starting
in thread Perl exe as a service, stuck on starting

You can change the icon used by PAR::Packer, but you need to do it at the module build stage. See Re^2: Icon for pp on Strawberry for the steps.

  • Comment on Re^3: Perl exe as a service, stuck on starting

Replies are listed 'Best First'.
Re^4: Perl exe as a service, stuck on starting
by Garden Dwarf (Beadle) on Feb 28, 2018 at 07:46 UTC

    Thanks for the information, good to know but I won't use that method unless I really have to. I need to compile multiple applications with different icons, and that method is a bit tricky in my case.

      Yes, it's less useful if you have multiple applications to pack. It does not take too long, though, and you could always have distinct versions of PAR::Packer in separate that get loaded using the PERL5LIB environment variable, or specify them in the respective build scripts. Probably a pain to update, but at least you get the more recent PAR::Packer which has several useful options such as for packing unicode (--unicore) and module sets (e.g. -M List::).

      There is also the process at http://www.zewaren.net/site/?q=node/116 which you might have some luck with.

      An alternative that you could check out is salva's fairly new module Win32::Packer, which appears to let you specify an icon file to use. I haven't had a chance to try out the module myself, but I've been wanting to do so.

      Based on it's CPAN Testers results, it looks like you might have a challenge getting Win32::Packer to install with the portable Strawberry Perl version 5.14.4 that you say you are using.