Custom ".ico" file for Windows distribution

Our Idea distribution built with custom .ico file (set in IdeaApplicationInfo.xml and WindowsDistributionCustomizer) has broken .exe launcher. Icon is shown in explorer but application fails to start with "This app can't run on your PC" message. Std output shows ResourceUnavailable error message.

Same build with idea_CE.ico or idea.ico files is OK.

Custom .ico has same number of images with the same resolution as the IntelliJ ones

Are there any special requirements for ".ico" file that used in Windows distribution building?

0
1 comment
Avatar
Permanently deleted user

SOLVED

One of the images in our custom .ico file was compressed. Disabling image compression solved the issue.

0

Please sign in to leave a comment.