Subject: | Windows 7 exe issue / Perl probram compiled with PP |
Date: | Mon, 9 Feb 2015 07:02:33 -0800 |
To: | bug-PAR [...] rt.cpan.org |
From: | Chris <vidalch_1 [...] yahoo.com> |
Good Morning,
I am running Strawberry Perl for Windows.
The majority of devices that this exe will be sent to are Win 7.
I'm running pp from a Win7 machine.
I have a Perl script written using Perl Tk.
I enter the following at the command line :
C:\Users\chrivida\Desktop>pp --gui --icon hello.ico -o out.exe sinfo5.pl
Unknown option: icon
C:\Strawberry\perl\site\bin/pp: Input file hello.ico was not found
I figured pp couldnt find the ico file so I moved an ico into the same directory. And entered :
C:\Users\chrivida\Desktop>pp --gui --icon player.ico -o out.exe sinfo5.pl
Unknown option: icon
C:\Strawberry\perl\site\bin/pp: Binary 'player.ico' sure doesn't smell like perl source!
Can't locate object method "maybe_command" via package "MM" (perhaps you forgot
to load "MM"?) at C:/Strawberry/perl/site/lib/PAR/Packer.pm line 1569.
I then tried ...
C:\Users\chrivida\Desktop>pp --gui --output=output.exe sinfo5.pl
No errors, I see the camel icon for output.exe on my desktop.
I double click it and the program runs fine.
I go back to my desktop and rename output sinfo5, double click, the programs starts up and runs without a problem.
When I try to share the executable, usually delivered through email, the icon shows up on everyones desktop with the camel icon, however, when they double click the desktop icon, the program doesnt launch.
Thanks Chris
Christopher Vidal
vidalch_1@yahoo.com