- Do you have any antivirus software running? Can you disable antivirus software and retry?
- Can you launch MATLAB with admin right?
Application Compiler Fail "Update resource failed: 110" and "No Installer Package Created"
31 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm having trouble compiling a very simple application. I've attached the class and project in the attached zip file. I'm using the Application Compiler GUI not command line tools to compile. I've tried on both 2019a 64-bit and 2015b 32-bit, which I've used successfully many times in the past.
In 2019a, the failure log is
mcc -o untitled -W WinMain:untitled -T link:exe -d 'C:\Users\reavemt1\Desktop\New folder\untitled\for_testing' -v 'C:\Users\reavemt1\Desktop\New folder\untitled.m' -r 'C:\Program Files\MATLAB\R2019a\toolbox\compiler\Resources\default_icon.ico'
Compiler version: 7.0.1 (R2019a)
Dependency analysis by REQUIREMENTS.
Parsing file "C:\Users\reavemt1\Desktop\New folder\untitled.m"
(referenced from command line).
Generating file "C:\Users\reavemt1\Desktop\New folder\untitled\for_testing\readme.txt".
Packaging...
Creating the bundle...
Creating the install agent URL file...
Failed to embed unzip in your application.
Update resource failed: 110
Failed to create the web based installer.
No installer package created.
In 2015b, the failure log is
mcc -C -o untitled -W WinMain:untitled -T link:exe -d 'C:\Users\reavemt1\Desktop\New folder\untitled\for_testing' -v 'C:\Users\reavemt1\Desktop\New folder\untitled.m'
Compiler version: 6.1 (R2015b)
Dependency analysis by REQUIREMENTS.
Begin validation of MEX files: Thu Jun 13 10:08:52 2019
End validation of MEX files: Thu Jun 13 10:08:52 2019
[Warning: Adding path "C:\Users\reavemt1\Desktop\New folder" to Compiler path
instance.]
[]
Parsing file "C:\Users\reavemt1\Desktop\New folder\untitled.m"
(Referenced from: "Compiler Command Line").
Deleting 0 temporary MEX authorization files.
Generating file "C:\Users\reavemt1\Desktop\New folder\untitled\for_testing\readme.txt".
Packaging...
Adding custom icon C:\Program Files (x86)\MATLAB\R2015b\toolbox\compiler\Resources\default_icon.ico to C:\Users\reavemt1\Desktop\New folder\untitled\for_testing\untitled.exe.
Attempting to embed the CTF archive into the application C:\Users\reavemt1\Desktop\New folder\untitled\for_testing\untitled.exe.
Finished embedding CTF archive. Deleting the external CTF archive.
Creating the bundle...
Failed to embed installer splash screen C:\Program Files (x86)\MATLAB\R2015b\toolbox\compiler\Resources\default_splash.png.
Update resource failed: 110
Attempting to embed default installer splash screen, C:\Program Files (x86)\MATLAB\R2015b\toolbox\compiler\Resources\default_splash.png.
Failed to embed installer splash screen C:\Program Files (x86)\MATLAB\R2015b\toolbox\compiler\Resources\default_splash.png.
Update resource failed: 110
Failed to create the web based installer.
No installer package created.
Note that my PC is Windows 10 Enterprise 64-bit with 32GB of RAM. I should have no memory issues. I've also confirmed that "C:\Program Files (x86)\MATLAB\R2015b\toolbox\compiler\Resources\default_splash.png" exists.
0 个评论
采纳的回答
Helen Zhu
2019-6-15
编辑:Helen Zhu
2019-6-15
110 error usually indicates the system cannot open the device or file specified.
6 个评论
Jerome Leclerc-Perron
2019-8-29
编辑:Jerome Leclerc-Perron
2019-8-29
Hello Helen,
I've attempted your suggestion to find out what is locking the file. It seems to be a sharing violation indeed...!
Below you will find the "SHARING VIOLATION" as you've suggested:
And attached is the zipped log files (filtered).
Knowing that I don't have full control over my computer, so there are a few solutions out of the way (disabling windows defender is impossible, for example). What could be a solution that makes it possible to package these executables?
Helen Zhu
2019-9-3
编辑:Helen Zhu
2019-9-3
Hi Jerome,
Sorry for the late response. I didn't receive any system notification for your response and I just saw your post today...
I would say distribute your application and MCR separately is the best option I could think of as a workaround.
If you still want an installer that installs everything, then configure your antivirus software(Parity.exe) and windows defender to stop scanning file created by MATLAB, which is MyAppInstaller.exe in this case, is the only option. You may need to work with your IT department on it.
更多回答(2 个)
riverCN
2022-2-24
移动:Stefanie Schwarz
2023-6-22
In case someone stumbles on this problem again in the future:
I had the same symptoms when trying to compile. I found out that in my case it was because my project was in a Dropbox folder. Dropbox was blocking the process somehow. I just paused sync for a few minutes, tried to compile again and it worked.
@Helen Zhu was right: This is a symptom of the installer being locked by another program
1 个评论
J Tabora-Sierra
2022-7-12
移动:Stefanie Schwarz
2023-6-22
Thank you for posting, this was exaclty what was causing the compiler to fail.
Olaoluwayimika Olugbenle
2024-3-25
I also faced this same issue on my Windows 11 and was able to temporarily disable Real-time Protection on my computer and it worked. To do this:
Press Windows Key > search "Virus and Threat Protection" > under Virus and Threat Protection Setting select "Manage settings" > Turn off real-time protection
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Standalone Applications 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!