Menu

#1249 Error while loading icon - GIMP icon unsupported

3.0 Series
closed-invalid
nobody
None
5
2020-07-15
2020-07-14
Beep6581
No

v3.05

I created an icon in GIMP which works correctly in VB6 (that's from 1998), Windows XP and Windows 10. NSIS fails at loading this icon:

Icon: "images\test_icon.ico"
Error while loading icon from "images\test_icon.ico": can't open file

Icon created using GIMP-2.10.18 using default .ico export options, except I disabled compression.

3 Attachments

Discussion

  • Beep6581

    Beep6581 - 2020-07-14

    Using:

    !include nsDialogs.nsh
    (...)
    Icon "images\icon.ico"
    
     
  • Beep6581

    Beep6581 - 2020-07-14

    Same with even a simpler icon, just 3 small layers:

     
  • Beep6581

    Beep6581 - 2020-07-14

    Argh, nevermind! Invalid path. Had to use "..\images\icon.ico"

    With the correct path, the icon works correctly.

    Issue can be closed as invalid.

     
  • Anders

    Anders - 2020-07-15

    For future reference:

    can't open file=Can't find/open the file.

    unable to read header from file=Can't read from the file.

    invalid icon file=Not a valid Windows icon

     
  • Anders

    Anders - 2020-07-15
    • status: open --> closed-invalid
     

Log in to post a comment.