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?
asked Sep 17, 2009 at 10:03
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.
answered Sep 17, 2009 at 10:05
NifleNifle
11.7k10 gold badges76 silver badges100 bronze badges
6
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«
answered Sep 24, 2018 at 12:47
Vlad S.Vlad S.
4386 silver badges7 bronze badges
In McAfee I was able to disable the real time protection and it prevented «Win32 error 5:EndUpdateResource failed (110)»
answered Aug 13, 2015 at 12:03
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?
asked Sep 17, 2009 at 10:03
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.
answered Sep 17, 2009 at 10:05
NifleNifle
11.7k10 gold badges76 silver badges100 bronze badges
6
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«
answered Sep 24, 2018 at 12:47
Vlad S.Vlad S.
4386 silver badges7 bronze badges
In McAfee I was able to disable the real time protection and it prevented «Win32 error 5:EndUpdateResource failed (110)»
answered Aug 13, 2015 at 12:03
Although I really like InnoSetup, I have been suffering with this erroneous message for some time, but my frustration has reached new heights. There are numerous posts complaining about this problem, which is most certainly an InnoSetup bug, but no useful work-arounds that I can find.
I have a very simple (signed) setup that merely copies some files and creates a shortcut. It does not even include an executable. When I try to compile the setup, I am getting this «the process cannot access the file because it is being used by another process» message — repeatedly (normally I always get the setup to compile within 3 tries), but now it seems futile after many. many tries. The file that is «in-use» is not clear from the InnoSetup output or error dialog. There are most definitely no competing processes running. (I have rebooted the machine and still get this message).
Any ideas on how to resolve this are much appreciated.
Here is the complete setup code — it is signed, but that is not a problem with other setups I have created with the same signature.
#define MyAppName "Easy-IAP for IronKey"
#define MyAppVersion "4.0"
#define MyAppPublisher "Command Post Solutions"
#define MyAppURL "http://www.commandpostsolutions.com/"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{51668D56-27F6-4C83-87F2-677328EFE808}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName="\EZ-IAP"
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=IronKeySetup
SetupIconFile=C:\Users\ron\Dropbox\EZIAP\eziap.ico
Compression=lzma
SolidCompression=yes
SignedUninstaller=yes
SignTool=Standard /d $qEasy-IAP Installer$q $f
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "C:\Users\ron\Dropbox\Easy-IAP for IronKey\AccessDatabaseEngine.exe"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "C:\Users\ron\Dropbox\Easy-IAP for IronKey\dotNetFx40_Full_x86_x64.exe"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "C:\Users\ron\Dropbox\Easy-IAP for IronKey\Easy-IAP for IronKey\bin\Release\Easy-IAP for IronKey.exe"; DestDir: "{app}";
; NOTE: Don't use "Flags: ignoreversion" on any shared system les
[ICONS]
Name: "{drive:{app}}\Easy-IAP"; Filename: "{app}\Easy-IAP for IronKey.exe";
-
Уважаемые гости и пользователи форума.
Администрация настоятельно рекомендует не регистрировать несколько аккаунтов для одного пользователя. При выявлении наличия мультиаккаунтов будут заблокированы все учетные записи данного пользователя.
Аккаунты, зарегистрированные на временную почту, будут также заблокированы.
-
Автор темы
Linuxoid
-
Дата начала
-
#1
Приветствую. При переходе на win10 установил InnoSetup 5.5.9 (a) и какой бы я инсталятор не компилировал вылазят разного рода ошибки. На старой винде такое не случалось. В чем может быть проблема?
Прилагаю пример скрина ошибки:
-
18.7 KB
Просмотры: 28
-
#2
Linuxoid, тебе нужен расширенный компилятор
-
#3
Linuxoid, тебе нужен расширенный компилятор
можно пруф где скачать? а то за 2 дня перекачал уже тучу inno setup
Последнее редактирование:
-
#4
пруф = доказательство
-
#9
Linuxoid, Inno Setup 5A, Inno Setup 5U. Но, эти версии не заточены под десятку. Соответственно A = Ansi, U = Unicode.
Inno Setup Compiler version 5.5.1.ee2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Open
Crisis2010 opened this issue
Nov 8, 2017
· 7 comments
Comments
After start setup.exe got this error:
Runtime Error (at -1:0):
Cannot Import dll:C:\Users\user\AppData\Local\Temp\is-S5690.tmp\VclStylesinno.dll.
Issue on version 1.5.4.1.
Verison 1.4.5.0 works fine.
OS Winsows 10 1511.
Issue only in new versions.
Fix this please.
Crisis2010
changed the title
[Inno Setup]
[Inno Setup] Runtime Error | Cannot Import dll:
Nov 8, 2017
Please check if you are using the proper version of the functions (Ansi/Unicode) that must match with version of Inno Setup (Ansi/Unicode).
Checked, everything is correct.
Unicode dll + Unicode inno setup
It looks like the problem occurred with changing some function with updates between 1.4.5.0 and 1.5.4.1 when changing to a new format of vcl theme
Ok, So then maybe you are using the Lite version of the plugin which only loads the old VCL Style format.
Error appears only after update VclStylesinno.dll to latest version
Lite verison also give me this error…
I tried the following combinations:
VclStylesinno.dll 1.5.4.1 + New VCL Style format = Runtime Error
VclStylesinno.dll 1.5.4.1 + Old VCL Style format = Runtime Error
VclStylesinno.dll (Lite) 1.5.4.1 + New VCL Style format = Runtime Error
VclStylesinno.dll (Lite) 1.5.4.1 + Old VCL Style format = Runtime Error
VclStylesinno.dll 1.4.5.0 + Old VCL Style format = Ok
Without dll = Ok
Try changing the TEMP folder location into a path that does not use environment variables. In my case, the error message said it cannot import the file from filepath. This is strange since no filepath has at the start. The program seems to have problem translating environment variable in certain build of Windows.
I hope this works in your case. I don’t know why on some computer Inno setup fail to translate environment variables correctly.


