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

I was also thinking about that. But when there is only C:\Strawberry\c\bin in my %PATH% it is working, and there is no perl.exe in this folder... So I will say that this is not the problem

Replies are listed 'Best First'.
Re^3: PAR::Packer : Can't use the generated exe if there is no installation of perl
by stevieb (Canon) on Apr 22, 2016 at 14:52 UTC

    What is in the c:/strawberry/c/bin directory? I have a few Windows test servers, but all my perls are managed by berrybrew, so I don't have such a dir.

    Perhaps there's something in that directory that isn't perl.exe that's being looked for.

    Can you search through the pre-packed code and search for $ENV{PATH}?

Re^3: PAR::Packer : Can't use the generated exe if there is no installation of perl
by Anonymous Monk on Apr 25, 2016 at 09:59 UTC
    I suspect the resulting executable relies on one or more of the shared libraries (DLLs) in C:\Strawberry\c\bin. You should either transfer them along to the target machine or look for a way to include them into the PAR executable.