takluyver / pynsist

Build Windows installers for Python applications
https://pynsist.readthedocs.io/
Other
930 stars 123 forks source link

Icon related error for versions > 2.0 #173

Open lidstrom83 opened 6 years ago

lidstrom83 commented 6 years ago

I recently upgraded pynsist and now I get the following error when building my installer:

Error while loading icon from "eye.ico": unable to read icon from file
Error in macro MUI_INTERFACE on macroline 86
Error in macro MUI_PAGE_INIT on macroline 7
Error in macro MUI_PAGE_WELCOME on macroline 5
Error in script "build\nsis\installer.nsi" on line 30 -- aborting creation process

Downgrading back to version 2.0 fixes the issue, which seems to be present for versions 2.1, 2.2, and 2.3.

takluyver commented 6 years ago

Looking at the release notes, version 2.1 uses the icon in more places than before, due to PR #143. Possibly your icon file is not in the format that NSIS expects. How are you creating it?