Cannot bundle Windows EXE icon (SOLVED)

Trying to bundle for windows with bob, I get this (and no changed EXE icon):

Error - 5 icon(s) not replaced in /Users/da_petcu21/Work/icon-test/meow/icon-test/icontest.exe using /Users/da_petcu21/Work/icon-test/AppIcon.ico

Here’s the icons I used:

Archive.zip (198.6 KB)

I tried using the sizes listed here, but it made no difference:

Try saving an .ico with this software with this version (it’s free) and setting disabled. The no compress Win Vista is the important part.

These sizes

1 Like

It seems to have worked now with that option unchecked. Thanks a lot!

1 Like

Doesn’t this service provide a working .ico file?

I haven’t tried with that service. I generated my ico with https://www.icoconverter.com, then added the 8-bit versions with IcoFX. It worked after unchecking “Compress images for Windows Vista”.

1 Like

For those folks, who is working on Linux, here is instruction how to convert .png to .ico:

  1. You can use Imagemagick (sudo apt install imagemagick)
    1.1 And specifically convert tool
  2. Use this command. Take notice of -compress None and list of sizes
convert icon_256x256px.png -compress None -define icon:auto-resize=256,128,96,64,48,32,24,16 favicon.ico
2 Likes

This works perfectly as of September 2025, and for the Windows platform, too. The only change is that the “convert” command is now obsolete, and ImageMagick prompts to use the “magick” command instead.

But isn’t it still also required to pass the convert tool/command to magick?

magick convert icon_256x256px.png ...

This is the message I get on a Windows PC.

Ah, ok, I have ImageMagick 7.1.1 on my mac and it doesn’t complain when using magick convert. I’ll make a note in the manual about it.