chanklaus has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a Perl/Tk application for a Windows OS. When it starts it displays a bitmap file which is located in the same directory as the Perl script is.
Now, I want to make the program available for others, who not necessarily have a Perl installed on their system. Solution obviously is to pack the program into an executable PAR archive with the PAR::Packer "pp" program. The bitmap file is missing then, but it can be packed into the archive with the --addfile option. However, my program won't find the bitmap when started - I assume that it can't because the archive is unpacked in another directory than the executable file is located, but the current path is the one where the executable is placed - which I tested with the cwd command.
I tried to find a solution with Google, but either I asked the wrong keywords, or I simply am too stupid - or both. That's why I would like to ask you for help.
My question is either:Many thanks in advance.
Best greetings and wishes,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR::Packer: pp with addfile option: where are the files?
by Marshall (Canon) on Nov 07, 2009 at 17:47 UTC | |
|
Re: PAR::Packer: pp with addfile option: where are the files?
by AnomalousMonk (Archbishop) on Nov 07, 2009 at 19:28 UTC | |
|
Re: PAR::Packer: pp with addfile option: where are the files?
by Anonymous Monk on Nov 07, 2009 at 19:08 UTC | |
|
Re: PAR::Packer: pp with addfile option: where are the files?
by chanklaus (Acolyte) on Nov 08, 2009 at 10:37 UTC | |
by Anonymous Monk on Nov 08, 2009 at 10:45 UTC | |
|
Re: PAR::Packer: pp with addfile option: where are the files?
by chanklaus (Acolyte) on Nov 11, 2009 at 09:07 UTC | |
|
Re: PAR::Packer: pp with addfile option: where are the files?
by Beechbone (Friar) on Nov 05, 2013 at 14:37 UTC |