Silent Install: How to push license to licensePath?

조회 수: 7 (최근 30일)
Library
Library 2022년 11월 3일
답변: Jeremy 2023년 2월 8일
I understand non-interactive installation except for the client network license file. In the customized installer_input.txt file, I can set the licensePath value, but that is where the installed MATLAB looks for it when a user starts MATLAB, right? How does the license file get to that location? Does the installer put the license file in that location, and if so, how does it know where the license file is during the installation process? Do I have to install MATLAB and then run a script to copy the license file to the specified licensePath location?

답변 (2개)

Library
Library 2022년 11월 10일
Really? Nobody has an answer?
What would make sense is the installer_input.txt file has an option for the relative path to the network license file to use and the installer copies or builds the one MATLAB uses when it is started.

Jeremy
Jeremy 2023년 2월 8일
You give it the path to where your license file is before installation.
It copies it from there to the licenses directory where all the other matlab files are.
I assume it looks here by default when Matlab starts, but you can also do:
export MLM_LICENSE_FILE="/path/to/my/license.lic"
To tell it where you've saved it before running Matlab.

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by