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.| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |