PDA

View Full Version : Setup icon file too large



instrumentally
01-02-2023, 08:38 AM
I am using SB 2019.5

When I try to build a project, I get the following fatal error message...

Fatal Compiler Error: GEN1092: Setup icon file too large: D:\bible\installer\icons\Install.ico

The install.ico file size is 356Kb.

Can you identify why 356Kb is "too large" to use? It is a valid .ico file.

I would attached the .ico file here, but your forum software doesn't permit .ico attachments.

linder
01-04-2023, 08:48 AM
Hello,

the icon file size to be embedded into the installer runtime stub is limited to 100,000 bytes.

Friedrich

instrumentally
01-04-2023, 08:58 AM
Thanks, but it sure would be nice if the error message within Setupbuilder stated just that, i.e., "The installer stub is limited to 100,000 bytes." Otherwise, the user is left scratching his head as to what the target he needs to aim for is. Surely adding such a message can't be very hard to implement and would be greatly helpful.

linder
01-04-2023, 09:32 AM
Good idea. We have changed this error message to "The installer stub is limited to 100,000 bytes" in the upcoming SetupBuilder 2023. Thank you for your suggestion!!

Friedrich