Why do I receive errors that COM servers could not be installed when installing MCRInstaller?
12 views (last 30 days)
Show older comments
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.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!