Failed to embed unzip in your application

53 views (last 30 days)
I want compile my GUI but I have this error in review log file after I compiled it.
Failed to embed unzip in your application.
Update resource failed: 00000000CE555B50
What is this error? What should I do for this?
After compiling when I run installer I have this errors:
unzip.exe saveResourceToFile failed. The specified resource naem cannot be found in the image file.
after this error I have this error :
Failed to get the payload.
after that :
Could not source the install agent.
Thanks.

Answers (6)

Attilio
Attilio on 4 Aug 2014
Hi, I have the same errors of Jack:
"After compiling when I run installer I have this errors:
unzip.exe saveResourceToFile failed. The specified resource naem cannot be found in the image file.
after this error I have this error :
Failed to get the payload.
after that :
Could not source the install agent. "
I already have installed the bugfix: Mathworks - support but the problem still remains.
I have no errors when I package the GUI, neither in the logfile.
I use: Matlab 2013b Matlab builder JA 64bit and 16GB RAM machine
Thanks

Nidhi Jain
Nidhi Jain on 1 Aug 2014
Hi Jack,
Are you using "runtime included in package" option of deploytool?
This is an issue when the machine is running out of memory. It usually occurs with 32-bit MATLAB Compiler, but it can also occur with 64-bit MATLAB, if the machine RAM is 4GB or less, regardless of bitness.
This error can also occur in cases where RAM size is more than 4GB, shutting down processes and freeing RAM space can resolve the issue.
  1 Comment
Zhao
Zhao on 17 Nov 2018
Edited: Zhao on 17 Nov 2018
I met the same problem. And your method works,thanks!

Sign in to comment.


Jack
Jack on 4 Aug 2014
Edited: Jack on 4 Aug 2014
Hi.
I found a solution for this problem. Disable firewalls and check again when firewalls are off.

Nidhi Jain
Nidhi Jain on 7 Aug 2014
Create the .prj using "downloaded from web" option, and then send the name of the folder/project to the PackageWithMCR.m file as shown in the link.
I hope this helps.

Douglas Anderson
Douglas Anderson on 26 Sep 2014
Hello,
I have 2014a, just got the Compiler (ver 5.1), and developed a package with runtime downloaded from web for a client with Windows 8.1. I have 64 bit computer/Matlab with Windows 7, 16GB memory, not sure what the client has in terms of bits & memory. Client got the "Could not source the install agent" message.
Suggestions for them to try?
Thanks.
Doug Anderson
  1 Comment
Douglas Anderson
Douglas Anderson on 26 Sep 2014
By the way, maybe the best thing to do with this is to have the client download MCR from http://www.mathworks.com/products/compiler/mcr/ for their system before running the package, making sure that they know to download the one for the Matlab release you are using.
Then you develop a package with "runtime downloaded from web", and since they already have MCR, this problem should disappear -- Yes???

Sign in to comment.


Eduardo Vicente Wolf Trentini
I have the same problem. Disable the google drive aplication.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!