Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 3099
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: johanl [...] bahnhof.se
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.70
Fixed in: (no value)



Subject: Small icon is a Camel (which is... nice, but also... wrong)
On Windows2000 I create TB.exe with the icon bridge.ico . Like this: pp -o TB.exe --icon bridge.ico TB.pl The icon of TB.exe looks ok when viewed in Explorer with "Large icons", but when viewed with "Small icons" or "Details", the little icon is the picture of a camel instead of a red bridge. The icon bridge.ico itself looks alright in both viewing modes, so the icon should be fine. A guess is that a) PAR doesn't register the small image version of the icon correctly in the .exe file, or perhaps that b) PAR can't extract the little icon image from the .ico file and falls back to using a default image. The bridge.ico can he fetched from here: http://www.bahnhof.se/~johanl/slask/bridge.ico Versions: Perl Packager, version 0.04 (PAR version 0.70) This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Binary build 632 provided by ActiveState Corp. http://www.ActiveState.com Built 03:40:44 Jun 3 2002 /J Off-topic praise: excellent work!
From: Alan Stewart
[guest - Wed Jul 30 08:10:20 2003]: Show quoted text
> On Windows2000 I create TB.exe with the icon bridge.ico . Like this: > > pp -o TB.exe --icon bridge.ico TB.pl > > The icon of TB.exe looks ok when viewed in Explorer with "Large > icons", but when viewed with "Small icons" or "Details", the little > icon is the picture of a camel instead of a red bridge. > > The icon bridge.ico itself looks alright in both viewing modes, so the > icon should be fine. > > A guess is that a) PAR doesn't register the small image version of the > icon correctly in the .exe file, or perhaps that b) PAR can't > extract the little icon image from the .ico file and falls back to > using a default image. > > The bridge.ico can he fetched from here: > http://www.bahnhof.se/~johanl/slask/bridge.ico > > > Versions: > Perl Packager, version 0.04 (PAR version 0.70) > > This is perl, v5.6.1 built for MSWin32-x86-multi-thread > (with 1 registered patch, see perl -V for more detail) > Binary build 632 provided by ActiveState Corp. > http://www.ActiveState.com > Built 03:40:44 Jun 3 2002 > > > /J > > Off-topic praise: excellent work!
replaceicon.exe that pp uses doesn't replace both icons in MainIcon. You can use "Resource Hacker" to do it. http://www.users.on.net/johnson/resourcehacker/
Date: Fri, 8 Aug 2003 03:15:17 +0800
From: Autrijus Tang <autrijus [...] autrijus.org>
To: Guest via RT <bug-PAR [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #3099": ;
Subject: Re: [cpan #3099] Small icon is a Camel (which is... nice, but also... wrong)
RT-Send-Cc:
On Thu, Aug 07, 2003 at 03:04:05PM -0400, Guest via RT wrote: Show quoted text
> > Off-topic praise: excellent work!
> > replaceicon.exe that pp uses doesn't replace both icons in MainIcon. You can use "Resource Hacker" to do it. > http://www.users.on.net/johnson/resourcehacker/
Ugh. The license is quite restrictive. If you can ask the author for me, it'd be nice, although I believe a pure-perl PE header munging tool is really the way to go. I may try to write a Win32::PEHeader module for that. Thanks, /Autrijus/
Download (untitled)
application/pgp-signature 187b

Message body not shown because it is not plain text.

[autrijus@autrijus.org - Thu Aug 7 15:15:17 2003]: Show quoted text
> On Thu, Aug 07, 2003 at 03:04:05PM -0400, Guest via RT wrote:
> > > Off-topic praise: excellent work!
> > > > replaceicon.exe that pp uses doesn't replace both icons in MainIcon.
> You can use "Resource Hacker" to do it. > > Ugh. The license is quite restrictive. If you can ask the author for > me, > it'd be nice, although I believe a pure-perl PE header munging tool is > really the way to go. > > I may try to write a Win32::PEHeader module for that.
And I finally did it as Win32::Exe. Welcome to the AUTHORS file. :-) Marked as FIXED on ActivePerl 809, PAR 0.81. Thanks for your report, and sorry for my belated reply. Cheers, /Autrijus/