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?
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?
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.
I got the same problem on Windows 10 with Windows Defender active. I tried first to remove the output folder's "Read-Only" attribute as mentioned above but did not work. Since I did not want to disable the antivirus I had to add the Output folder of the Inno Setup Studio to the Exclusion section of Windows Defender:
"Start -> Settings -> Updates & Security -> Windows Security -> Virus & threat protection -> Virus & threat protection settings -> Add or remove exclusions -> Add an Exclusion of type "Folder"
In McAfee I was able to disable the real time protection and it prevented "Win32 error 5:EndUpdateResource failed (110)"