Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MATLAB compiler installation error "corrupt install agent"

259 views
Skip to first unread message

Heng

unread,
Nov 11, 2013, 1:51:07 PM11/11/13
to
I built a package using new 2013b version with both or either MyAppInstaller_web, MyAppInstaller_mcr version successfully but when I tried to install on other computers, it gave "Corrupt install agent" error. Any idea?

dpb

unread,
Nov 11, 2013, 2:36:52 PM11/11/13
to
Sounds like you'll have to talk to TMW support on that one. No idea
whether they're working today or not; it's US holiday.

--

Vincent FORTOUL

unread,
Nov 19, 2013, 5:55:13 AM11/19/13
to
"Heng " <gos...@gmail.com> wrote in message <l5r8uq$mch$1...@newscl01ah.mathworks.com>...
> I built a package using new 2013b version with both or either MyAppInstaller_web, MyAppInstaller_mcr version successfully but when I tried to install on other computers, it gave "Corrupt install agent" error. Any idea?

Heng,

Have you any news about your problem? I'm interrested because I had the same.
I compiled a standalone application from a personal GUI under OS Windows 7 and installation was not possible on other computers with the same message.

Dave

unread,
Nov 19, 2013, 3:30:34 PM11/19/13
to
"Heng " <gos...@gmail.com> wrote in message <l5r8uq$mch$1...@newscl01ah.mathworks.com>...
> I built a package using new 2013b version with both or either MyAppInstaller_web, MyAppInstaller_mcr version successfully but when I tried to install on other computers, it gave "Corrupt install agent" error. Any idea?


I've had this exact same error. Reinstalled MATLAB on a brand new machine, no luck. I will be contacting support about this issue.

Oliver

unread,
Nov 25, 2013, 6:11:10 AM11/25/13
to
Hi,

Just wanted to butt in. I had the same error too, and I got it working.

I packaged my .m code using a x64 bit Windows 7 and included the MCR to the output. However the packaged MCR didn't work, same error as explained above.

So I followed the "readme.txt" that was in the output, which showed:

" Type in the command
>> mcrinstaller

at MATLAB prompt. The MCRINSTALLER command displays the location of the MCR Installer. "

I used the MCR installer at that location (copied it across to target machine, x64 windows 7) and I was able to run the .exe file with no error.

I'm using MATLAB 2013b, so it worked on that occation.

HOWEVER

I have another target machine which is a x32 windows XP machine and I'm struggling to get the .exe working there... the above command only gives me a 64bit MCR and it looks like there isn't a x86 (32 bit) version that came with the MATLAB install.

So I downloaded the 32 bit windows version of MCR through the web, installed the MCR fine on the target machine. But I can't open the .exe file I compiled. The error message was
"<file_name>.exe is not a valid Win32 application".

Perhaps there is an incompatibility issue between 64 bit environment and 32 bit target systems? And I was told the MATLAB compiler output is cross platform. Maybe just a little kink for the Mathworks people to solve ASAP I hope :)

Vincent FORTOUL

unread,
Nov 26, 2013, 10:20:13 AM11/26/13
to
I just want to complete the Oliver's answer.

It is not possible to compile a 32-bit application from 64-bit MATLAB software. If you want to do that you must install 32-bit MATLAB software (it is possible to have both on the same computer) and then compile your complication with it.

Concerning the original error from Deng message:
- It seems that there is a bug in MATLAB compiler 5.0 (R2013b)
- Please apply the solution given here : http://www.mathworks.com/support/bugreports/983355
It's worked for me!

Vincent

Heng

unread,
Dec 2, 2013, 12:47:15 PM12/2/13
to
In the end, I was able to get it working using the old method stated in the readme.txt by downloading the mcr installer directly from http://www.mathworks.com/products/compiler/mcr/index.html.

I think the problem could be the firewall of my company which often removes something from executable file but I haven't confirmed it at home computer.

Heng


"Vincent FORTOUL" wrote in message <l6fg2h$rka$1...@newscl01ah.mathworks.com>...
0 new messages