MATLAB: Do I receive errors that COM servers could not be installed when installing MCRInstaller

abortingcominstallationMATLAB Compilermcrmcrinstallerregisterserversunable

I am trying to install MCRInstaller so that I can run a deployed application from MATLAB. I run MCRInstaller.exe and before the installation process is complete, a popup error dialog box appears with the following error message:
Aborting installation - Could not register COM servers.
As a result, the installation fails and I am unable to run a deployed application.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) in the way that MCRInstaller handles registration of COM servers. To work around this issue, try registering the COM servers manually by performing the following steps:
1. Open a Run dialog box by selecting Run from the Windows Start menu.
2. Open a DOS command prompt window by running the command "cmd".
3. Use the DOS command "cd" to change directories to $MCR_ROOT\v70\runtime\win32, where $MCR_ROOT is the root directory in which you tried installing MATLAB Component Runtime.
4. Execute the following commands:
regsvr32 mwcomutil.dll
and:
regsvr32 mwcommgr.dll
After executing each of these commands, a dialog box should appear stating that the COM server has been successfully registered. After this step, installation of MATLAB Component Runtime should be complete.