MATLAB: Do I get an error when installing MATLAB Compiler Runtime (MCR) for MATLAB 7.9 (R2009b)

librariesMATLAB Compilermicrosoftmsvcredist

I have an application that needs MATLAB Compiler Runtime 7.11. During installation, I got the following warning message:
WARNING! .NET Framework 2.0 is not installed. If your application requires it, select Cancel and install .NET Framework first. Otherwise, select OK to continue.
I ignored the warning; but, after installation, I could not use my application software which was compiled using Visual Studio 2008 Professional Edition. Then, I uninstalled MATLAB Compiler Runtime 7.11, installed .Net 2.0 and installed MATLAB Compiler Runtime 7.11 again. I still see the same message showed during installation and I cannot use my application software, it gives the following error message:
The application is not configured correctly. Re-install the software may fix the problem.

Best Answer

This problem occurs because the machine, where you are running the MATLAB Compiler generated component on, does not have all required Visual Studio 2008 runtime libraries installed.
The runtime libraries are also available on Microsoft's website:
<http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en>
After installing the runtime libraries on every machine, run the MATLAB Compiler generated component.