I haven't seen that kind of issue using pp from PAR::Packer to create executables. Here's a few thoughts about possible problems.

First, it looks like you're using a 64 bit Perl. That means that the executables that you create will be trying to run a 64 bit Perl. If your colleagues are using a 32 bit Windows 7, then they won't be able to run the executables you create using a 64 bit Perl. My recommendation is that you stick with 32 bit Perl for creating executables. If you need to leverage 64 bit Perl, then you need to treat all of the executables that you create as being 64 bit programs that will only run on 64 bit Windows.

My next thought was wondering how you installed PAR::Packer. I'd recommend using cpan or cpanm (or whichever cpan utility you prefer) to install the PAR::Packer module.

Lastly, I'm not sure if you typos in your post, but some of the syntax that you listed is not correct for the pp utility. The way that I usually use pp is to use is like this: pp -c -x -o script.pl program.exe. I doubt that this is the source of the issue that you are seeing, but thought I'd share this you in case it might be useful to others.


In reply to Re: PAR::Packer : Can't use the generated exe if there is no installation of perl by dasgar
in thread 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.