This enhancement has been incorporated in Release 2006b (R2006b). For more information see the Related Solution listed below.
For previous product releases, read below for any possible workarounds:
The following steps will accomplish a silent install of the MCR on a Windows deployment machine:
1. Unzip MCRInstaller.exe file in a writeable directory. This extracts the necessary files for the MCR installation. We provide a command line UNZIP utility in $MATLABROOT\toolbox\compiler\deploy\win32 for this purpose ($MATLABROOT is the root directory of your MATLAB installation). Execute the following commands in DOS:
unzip.exe MCRInstaller.exe
This exposes the file MCRInstaller.msi, which is a standard Windows MSI package that includes the MCR archive.
2. Install the MCR with the following command:
msiexec /q /i MCRInstaller.msi
This installs the MCR in the directory
%PROGRAMFILES%\MathWorks\MATLAB Component Runtime\vXX
The variable %PROGRAMFILES% is typically C:\Program Files by default.
XX is the MCR version.
In a similar fashion, to uninstall the MCR silently:
For a network install of the MCR, see the Related Solution.
Best Answer