Matlab 2017b silent install

조회 수: 5 (최근 30일)
Ryan
Ryan 2017년 10월 2일
댓글: Marco 2017년 10월 2일
Anyone successfully install 2017b silently? When running "setup -inputfile install.txt" I get a "Exception calling main" error. I can manually run setup and 2017b installs fine so I can't see this being a corrupt installer.
The other suggestions here are didn't help.
https://www.mathworks.com/matlabcentral/answers/99099-why-does-installer-fail-on-windows-with-the-error-installer-error-exception-calling-main
Thanks

답변 (4개)

Marco
Marco 2017년 10월 2일
Hello Ryan, You can install Matlab without an internet connection also. Try an offline installation and get the license file manually: in order to install correctly the last version of Matlab R2017b, without internet connection, a good way is to download the iso image from your Matlab account. After the download, from the license center, you can obtain the Installation Key and complete the installation.
BR Marco
  댓글 수: 1
Ryan
Ryan 2017년 10월 2일
Sorry, I should have been more clear, I have the offline installers, extracted them to a folder, ran setup works. Silently it doesn't, just gives me that error "Exception calling main".
I've also mounted the ISO's and run setup and get the same error.
Thanks again.

댓글을 달려면 로그인하십시오.


Marco
Marco 2017년 10월 2일

Ryan
Ryan 2017년 10월 2일
Thanks Marco but I already referenced that link in my first post. It didn't help.
The install works if I manually run setup, double click, click click etc. I get the error only when I try to install with the -inputfile.

Ryan
Ryan 2017년 10월 2일
Looks like a tracked it down.
In previous versions of Matlab we used: outputFile=C:\Windows\TEMP\mathworks_<user_name>.log
That line was causing the error. I've since changed it to: outputFile=C:\Windows\TEMP\mathworks_2017b.log
Seems to be working now. Thank you.
  댓글 수: 1
Marco
Marco 2017년 10월 2일
Good. Welcome!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by