Installing the MCR Non-Interactively (Silent Mode)
To install the MCR without having to interact with the installer dialog boxes, use one of the MCR installer non-interactive modes: silent or automated.
Version: MCR v8.1
Steps to test what is to be a future automated silent installation.
- Download the MCR compiler exe. The msi doesn't exist anymore.
- Rename to .zip and extract.
- Run setup from command prompt with admin privileges.
setup.exe -mode silent -agreeToLicense yes
**you need the agreeToLicense command or it will get stuck and fail**
Logs can be found in C:\Users\YourUser\AppData\Local\Temp
When running the installer with an input file, you must accept the license agreement by setting the agreeToLicense option to yes.
Exiting with status -1
End - Unsuccessful
For future automation:
- Some folders are useless for placing the zip in storage, to unzip, and run your automated installation scripts. They include: help, utils, and files in the root called install_guides.
Location of mclmcrrt8_1.dll:
C:\Program Files\MATLAB\MATLAB Compiler Runtime\v81\runtime\win64