windowsinstallationinno-setup

How to fix Inno Setup error EndUpdateResource failed (110)


When compiling an Inno Setup installer script I get this error

Line: xx Resource update error: EndUpdateResource failed (110)

line xx contains

SetupIconFile= pathToIconFile

What causes the error and how can I fix it?


Solution

  • Found the solution after quite a google session

    Win32 error 110 = "The system cannot open the device or file specified."

    It's probably having trouble writing to the newly generated installer.exe. Check the permissions on the output directory, and disable any anti-virus software.

    I disabled my anti-virus and the error disappeared.