Re: Changing Icon for Standalone Executable

"bubnikv ." <[email protected]> Fri, 20 Jan 2017 16:42:20 +0100
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <CAAE6JuxZ9vFPS3aRmfTj9yTO-rOUzWQy9w3tG8qEBNog-ncjBA@mail.gmail.com>
--001a113f40a8cd9e340546887e69
Content-Type: text/plain; charset=UTF-8

The way I chose is to completely skip the PAR archive, collect the files
manually (maybe use the PAR packer just to discover the dependencies) and
then to compile an exe wrapper over perl.dll.
In the exe wrapper you can change the icon to whatever you want.



On Fri, Jan 20, 2017 at 4:12 PM, Keith Brown <[email protected]>
wrote:

> Hi folks. I'm converting my perl program to a Windows executable for
> distribution. Since it uses wxPerl I'm using wxPAR. The command I'm using
> to do the conversion is:
>
> wxPAR --gui -o wxProdOp.exe wxProdOp.pl
>
> This works fine, giving an executable that runs satisfactorily. However,
> the camel icon associated with the program is not the one that I want. I'd
> rather have my own one. I've tried using the capabilities of Win32::Exe to
> change the icon but it doesn't seem to work.
>
> Any ideas would be much appreciated.
>
>
> Keith
>

--001a113f40a8cd9e340546887e69
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The way I chose is to completely skip the PAR archive, col=
lect the files manually (maybe use the PAR packer just to discover the depe=
ndencies) and then to compile an exe wrapper over perl.dll.<div>In the exe =
wrapper you can change the icon to whatever you want.</div><div><div><br><d=
iv><br></div></div></div></div><div class=3D"gmail_extra"><br><div class=3D=
"gmail_quote">On Fri, Jan 20, 2017 at 4:12 PM, Keith Brown <span dir=3D"ltr=
">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">brownk@=
chem4823.usask.ca</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">H=
i folks. I&#39;m converting my perl program to a Windows executable for dis=
tribution. Since it uses wxPerl I&#39;m using wxPAR. The command I&#39;m us=
ing to do the conversion is:<br>
<br>
wxPAR --gui -o wxProdOp.exe wxProdOp.pl<br>
<br>
This works fine, giving an executable that runs satisfactorily. However, th=
e camel icon associated with the program is not the one that I want. I&#39;=
d rather have my own one. I&#39;ve tried using the capabilities of Win32::E=
xe to change the icon but it doesn&#39;t seem to work.<br>
<br>
Any ideas would be much appreciated.<span class=3D"HOEnZb"><font color=3D"#=
888888"><br>
<br>
<br>
Keith<br>
</font></span></blockquote></div><br></div>

--001a113f40a8cd9e340546887e69--