Is it possible to deploy my compiled application in MATLAB 7.0 (R14) and install the MCRInstaller in silent mode?

1 view (last 30 days)
I would like to perform a silent installation of my MATLAB Compiler-generated application. However, MCRInstaller requires user interaction during installation.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Sep 2009
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:
msiexec /q /x d:\...\MCRInstaller.msi
For a network install of the MCR, see the Related Solution.

More Answers (0)

Categories

Find more on Startup and Shutdown 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!