----- Original Message ----- From: "Geoffrey Spear" <[EMAIL PROTECTED]> To: <Perl-Win32-GUI-Users@lists.sourceforge.net> Sent: Wednesday, May 23, 2007 9:29 PM Subject: Re: [perl-win32-gui-users] camel
> I hate to bring back a nearly 6 month old thread, but is there some > sort of trick to getting Win32::GUI to find icons bundled with a > pp-built .exe? > > I built one using "pp script.pl -o script.exe -a icon.ico" but the -a or -i? According to the docs, there is no -a > icon only displays properly if there's a copy of it in the same > directory as the executable; if the .exe file is moved to another > directory it can't find the icon which should be bundled. Sounds logical. I assume (don't know though) that you could also put the directory of the icon in PATH or name the exact path while packing. That's typical for Windows. Same goes for running the package. When the directory of the package isn't current directory the package will only run when it is in the path.