Clear Filters
Clear Filters

Install MATLAB through MS Intune

33 views (last 30 days)
Antonio Airoldi
Antonio Airoldi on 23 May 2024
Commented: Antonio Airoldi on 23 May 2024
I'm trying to create an silent installer to be later added to MS Intune, however everytime that I try to install, I am receiving the error "There was an error while extracting product files.Try rerunning the Installer.".
I already performed all the steps described in "https://www.mathworks.com/matlabcentral/answers/1594169-deploy-matlab-with-ms-intune?s_tid=sug_su" but I'm still struggling to make this work.
Below is the "installer_input.txt" content that I used to install, but posted without the fileInstallationKey attribute:
destinationFolder=C:\Program Files\MATLAB\R2024a
fileInstallationKey=REMOVED
agreeToLicense=yes
outputFile=C:\Temp\Matlab_Install.log
enableLNU=no
improveMATLAB=no
licensePath=C:\Temp\network.lic
setFileAssoc=true
desktopShortcut=true
startMenuShortcut=true
createAccelTask=true
Addittionally, this is the log report that I'm receiving while trying to execute it:
(May 23, 2024 09:36:15) ##################################################################
(May 23, 2024 09:36:15) #
(May 23, 2024 09:36:15) # Today's Date:
(May 23, 2024 09:36:15) May 23, 2024 09:36:15 -0300
(May 23, 2024 09:36:15)
(May 23, 2024 09:36:15) System Info
(May 23, 2024 09:36:15) OS: Windows Version 10.0 (Build 18363)
(May 23, 2024 09:36:15) Arch: amd64
(May 23, 2024 09:36:15) Language: pt_BR
(May 23, 2024 09:36:15) Release Description: R2024a Update 3
(May 23, 2024 09:36:15) Installer build number: 24.1.0.2603908
(May 23, 2024 09:36:15) Content of the file installer_input.txt
destinationFolder=C:\Program Files\MATLAB\R2024a
fileInstallationKey=REMOVED
agreeToLicense=yes
outputFile=C:\Temp\Matlab_Install.log
enableLNU=no
improveMATLAB=no
licensePath="C:\Temp\network.lic"
setFileAssoc=true
desktopShortcut=true
startMenuShortcut=true
createAccelTask=true
End of the file installer_input.txt
(May 23, 2024 09:36:15) Session key: REMOVED
(May 23, 2024 09:36:15) Product Files Folder: C:\Temp\MATLAB_r2024a\archives
(May 23, 2024 09:36:16) License Agreement validation is successful.
(May 23, 2024 09:36:16) FIK validation is successful.
(May 23, 2024 09:36:16) Unable to read license file
(May 23, 2024 09:36:16) License File validation is successful.
(May 23, 2024 09:36:16) Folder validation is successful.
(May 23, 2024 09:36:16) Product selection validation is successful.
(May 23, 2024 09:36:16) Confirm Selections
(May 23, 2024 09:36:16) Destination
(May 23, 2024 09:36:16) C:\Program Files\MATLAB\R2024a
(May 23, 2024 09:36:16) Products
(May 23, 2024 09:36:16) 7 of 7 products
(May 23, 2024 09:36:16) 9.35 GB required
(May 23, 2024 09:36:16) Is it an OLL Individual license: false
(May 23, 2024 09:36:17) There was an error while extracting product files.<br>Try rerunning the Installer.<br><br>For help, see this <a HREF="https://www.mathworks.com/pi_siae_mpi_R2024a_win64">MATLAB Answer</a>.<br>invalid conversion: undefined to JSON object
(May 23, 2024 09:36:17) Exiting with status -2
(May 23, 2024 09:36:17) End - Unsuccessful

Answers (1)

Harald
Harald on 23 May 2024
Hi,
that's a very specific question. Please consider contacting our Installation Support team:
Best wishes,
Harald
  1 Comment
Antonio Airoldi
Antonio Airoldi on 23 May 2024
I noticed several questions with the same problem reported while using the "installer_input.txt" file, but I was unable to find a solution that corrects my problem. I'll proceed with the support ticket!
Thanks!
Antônio

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!