Reply to myself for public archival purposes:

It turns out that the resources need to be EXACTLY the same as the
ones that are removed.  Currently, the icon group consists of a 16x16
icon and a 32x32 icon, and both need to be 8-bit (256 colors).  You
cannot use icons at larger sizes or at different bit-depths.


On Wed, May 21, 2008 at 12:04 PM, Brian Mathis <[EMAIL PROTECTED]> wrote:
> Versions:
> - Windows Vista SP1 64-bit
> - Activestate Perl 32-bit 5.10.1003
> - PAR 0.977
> - PAR-Dist 0.29
> - PAR-Packer 0.977
>
> I'm trying to change the icon in the generated executable.  I've tried
> 2 methods, each results in the same issue.
>
> Method 1: Using the "--icon" switch on the 'pp' command line.
> Method 2: Using "XN Resource Editor" to delete the camel icon and add
> my own icon
>
> The issue is that after I change the icon and run the executable, I
> receive the following errors (sometimes only a few, other times,
> many):
>    format error: bad signature: 0x6e6f6973 at offset 3348642 in file ...
>    format error: bad signature: 0x20202020 at offset 3348676 in file ...
>    format error: bad signature: 0xb94f8f8f at offset 4039742 in file ...
>
> In spite of the errors, the program still seems to work.
>
> Does anyone know how to resolve or quiet these errors?
>
> Thanks,
> Brian Mathis
>
>
> PS. I've also noticed that using the "--icon" switch on 'pp' adds 2MB
> to the size of the file.
>

Reply via email to