Selecting subset of products for R2020a silent install

조회 수: 10 (최근 30일)
Craig Willis
Craig Willis 2020년 7월 17일
댓글: Greg 2020년 10월 7일
Hello,
I'm using the R2020a_Linux.iso to perform a silent install of MATLAB on an Ubuntu system with using an institutional license.
According to the installer_input.txt template, I should be able to install a subset of products. However, no matter how many or few of the products I uncomment, it appears that all licensed products are always installed.
For example, if I uncomment only the "product.Econometrics_Toolbox", the installed toolbox directory contains the following:
ls /usr/local/MATLAB/R2020a/toolbox/
5g compiler_sdk experiments idelink mpc rl simulink stats
aero control finance ident mps robotics simulink_standalone symbolic
aeroblks curvefit fininst images multisim robust simulinktest sysarch
audio da fixedpoint imaq nav ros sl3d systemcomposer
autoblks database fixpoint instrument nnet rptgen sl_pir_cap target
autoblks_utils datafeed fuzzy javabuilder optim rptgenext slcontrol targetframework
bioinfo diagram geoweb learning parallel rtw slcoverage textanalytics
clone_detection_app dig glee local pde shared slde vision
coder dmr globaloptim lte phased signal sldv vnt
comm dsp gpucoder map physmod simbio slsim vnv
comparisons econ hdlcoder matlab realtime simevents sltp wavelet
compiler eml hdlfilter mlhadoop rf simulation_pacing stateflow
Is there another way to control which products are installed?
  댓글 수: 2
Craig Willis
Craig Willis 2020년 7월 20일
Thanks. I've followed the instructions for silent installation and it's working, but the product selection isn't. Any specific advice on why product selection wouldn't work?

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

채택된 답변

Craig Willis
Craig Willis 2020년 7월 23일
I didn't realize that there was a product line for MATLAB itself. By also including "product.MATLAB", the subset of selected products are installed as expected. In R2019b, there was a message in the install log indicating that I hadn't installed MATLAB. In R2020a, it seems that the installer defaults to installing all licensed products.
  댓글 수: 1
Greg
Greg 2020년 10월 5일
Did you perhaps do anything else to get this working? I'm having the exact problem you originally mentioned (installing a subset of R2020a for an enterprise license in Linux), and it will not install less than everything. I have tried with only product.MATLAB uncommented, and also with product.MATLAB & product.MATLAB_Report_Generator uncommented. It always installs everything.
Or was your success only in R2019b?

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

추가 답변 (1개)

Greg
Greg 2020년 10월 6일
I just discovered that if you leave the destinationFolder property commented out (i.e., you want the default without explicitly re-specifying the default), it will refuse to obey the product selections at the bottom of the file. I simply supplied a destinationFolder value, and voila, silent install worked for the first time in a decade for me.
Personally, I prefer not to re-specify default values in situations like these. If that value changes, my installations would not keep pace.
Also, the example destinationFolder value in the installer_input.txt template does not match the default install location on Linux. Interactively, the default install goes to /usr/local/MATLAB/R####x/ but the template does not include the MATLAB subfolder.
  댓글 수: 2
Craig Willis
Craig Willis 2020년 10월 6일
Glad you were able to identify your problem. I don't recall needing to uncomment destinationFolder in either the R2020a or R2019b, but have been working with R2019b more recently.
Just as a side note, I did come across the option to skip the matlab_installer_input.txt altogether and simply specify values via the command line. For example:
./install -mode silent -licensePath /tmp/network.lic -agreeToLicense yes -fileInstallationKey <key> -product.MATLAB -product.Econometrics_Toolbox
Greg
Greg 2020년 10월 7일
That's a nifty idea.
I received confirmation from TMW Install Support technicians that the destinationFolder thing is a known limitation of silent install.

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

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by