in reply to PAR::Packer : Can't use the generated exe if there is no installation of perl

I didn't have such problems when I used pp on a setup similiar to yours, so I suspect there is something in your or your colleagues' setup.

A quick google seems to indicate it is something 64/32bit-related. The most relevant seems to be this link.

For generating EXEs I used a more or less "fresh"(*) copy of the Straberry Portable edition, and did all the steps (installing CPAN prerequisites etc) from within that (normal scripting and developing using a different perl installation) - see EXE from Script (Re: General advice desperately needed) and Re: How to make EXE file for Windows cmd window. Perhaps that is the reason why I didn't stumble over this problem (yet) :-)

Update: (*) The point here not being the freshness, but that it is a different perl that doesn't use the libraries from your system (similiar to the Unix/Linux/OSX people's advice not to use the "system perl" for your own applications)

  • Comment on Re: PAR::Packer : Can't use the generated exe if there is no installation of perl

Replies are listed 'Best First'.
Re^2: PAR::Packer : Can't use the generated exe if there is no installation of perl
by Psylo (Novice) on Apr 27, 2016 at 20:56 UTC

    Sorry I was in holidays with no network for a few days.
    I will try to generate the exe with a 32 bit portable edition of Strawberry. I'll update the comment asap.

    Anyway, thanks for the reply.

    Update : I have installed a 32 bits portable edition of perl, installed PAR::Packer with cpan for this portable installation, and it works now..
    I still don't understand the error which is annoying me but... It works so thank you for your help !!