Dear Monks,

I am trying to make standalone exe of my perl scripts. I have chosen Par::Packer to do that because it is free.
To begin with, here is my environment :
-This is perl 5, version 22, subversion 1 (v5.22.1) built for MSWin32-x64-multi-thread installed with Strawberry Perl
-PAR::Packer 1.0.31
-Windows 7

So now, what's the problem ?
I have managed to create an executable which is working fine with the command line pp -o test.exe test.pl
When I give it to my colleagues, they have the error 0xc00007b "the application was unable to start correctly".
I have managed to reproduce the issue by deleting some of my PATH values : C:\Strawberry\c\bin and/OR C:\Strawberry\perl\bin
After reading some forums I have tried pp -c -o test.exe test.pl or pp -c -x test.exe test.pl but I always have the same issue...


For me PAR::Packer is supposed to bundle perl in the exe. But am I suppose to add something to the delivery ? I didn't find anything on the internet about that that's why it sounds strange to me. Do I have to add some dlls which -c and -x options didn't find ? How to know which one I have to pick ?

Just in case, my colleagues all have Windows 7 installed.

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

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.