Silent Install: How to push license to licensePath?

18 次查看(过去 30 天)
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