On approximately 4/3/2008 4:59 PM, came the following characters from the keyboard of John:
This idea is something I will follow up on because I think it is a way of automating what I am doing manually with a resource editor at the moment and I need to understand what is happening better, but I don't think it will address my original issue.

I had two issues that I was trying to solve with a common solution.

1. I wanted a particular icon in the executable package file so that it would display on the desktop, explorer etc. --icon, the methods you indicate above or a resource editor can facilitate this.

2. I wanted the same icon to appear in my apps window title bar. I was trying to extract the icon from the executable that was processing my script, believing it to be (or to have inherited the icon from) the executable package, and could not find the one I wanted. Digging deeper reveals this is not the case. For now, my workaround is to use --addfile to include my icon file in the package.

$0 is the executable which is the par file, and maybe it is the one that contains the icon, eh?

But $^X is the pseudo-perl that is executing your script.

Not sure what you were using to try to find the icon with.... the assumptinos that Win32::GUI::Icon makes as a default might be wrong under PAR... might be nice if that were fixed, talk about that on the Win32::GUI list, maybe.

Reply via email to