MATLAB: Invalid MEX file, the specified module could not be found (MyAppInstaller_mcr)

application compilerexemexmex compiler

Hello everyone,
i have a problem with Mex file and until now i can´t solve this!!
I have a program that uses Mex files, and i have all this files into the same folder of program. I compile the program and then run, and it´s all perfect. Then i create a .exe file, with Application Compiler, and attach all the necessary files. The problem appear when i run the MyAppInstaller_mcr.exe generated by Application Compiler, emerge in screen the message : " Invalid MEX file… the specified module could not be found ". I have the same program (MyAppInstaller_mcr.exe) working well in other 2 PC´s, but in this pc i can´t put this working…
Anyone know,what can i do?
thank you in advance.

Best Answer

The AppInstaller requires MSVC runtime libraries as well as the compiled MEX functions. With the compiler of Matlab 2009a I need the MSVC2005 libs for the extraction and MSVC2008.1 libs, because I compiled the MEX functions with this version of the compiler. It looks like these runtime libs have been installed already on the computers your installation is working on.