Issue:
Specifications:
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
Release: R2013a
Platform: win64
Solution:
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.
MCR_R2013a_win64_installer\bin\win64
command:
setup.exe -mode silent -agreeToLicense yes
**you need the agreeToLicense command or it will get stuck and fail**
logs:
Logs can be found in C:\Users\YourUser\AppData\Local\Temp
mathworks_YourUser.log
Log errors:
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.
Side notes:
Location of mclmcrrt8_1.dll:
C:\Program Files\MATLAB\MATLAB Compiler Runtime\v81\runtime\win64
This worked perfectly. Thank you for your clear directions!
ReplyDelete