How to Install Matlab R2019b from Intune

I have been tasked to migrate all our Matlab installation from SCCM to Intune. So I am starting with Matlab R2019b and having quite a hard time to get it working via Intune,
I've been using this custom install.bat file I found on reddit:
\setup.exe -inputFile C:\temp\my_installer_input.txt timeout /t 60 >nul :WAITLOOP tasklist | find "MathWorksProductInstaller" >nul if not errorlevel 1 ( timeout /t 10 >nul goto :WAITLOOP )
I've finally been able to get it installed on my test environement but it's missing all the installer input from the installer.ini file.
Any idea what I am doing wrong ?

댓글 수: 2

Claudio
Claudio 2024년 10월 11일
We are using the full Matlab R2019b features, we downloaded the entire product. I am currently using the same package we are deploying via SCCM and repurpising it with IntuneWinAppUtil.exe
Thank you for the above comment, I will read into it and reply if successful.
Claudio

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

답변 (2개)

Manikanta Aditya
Manikanta Aditya 2024년 10월 9일

0 개 추천

Hi Claudio,
It sounds like you’re on the right track with your custom install.bat file, but the issue might be related to how the installer is accessing the installer.ini file.
  1. File Paths: Ensure that the path to your installer.ini file is correctly specified in your install.bat file. Sometimes, relative paths can cause issues, so using absolute paths might help.
  2. Permissions: Verify that the account running the installation has the necessary permissions to read the installer.ini file and execute the installation.
  3. Batch File Execution: Make sure the batch file is correctly calling the setup.exe with the -inputFile parameter pointing to the correct location of your installer.ini file.
There is a similar query raised on the following MATLAB Answer as shared by Kanishk in the comments section:
Try to refer it and see if you can find any help on the issue you are encoutering.
Hope it helps.

댓글 수: 1

Claudio
Claudio 2024년 10월 11일
Thank you for the comment Manikanta, I was able to get the full Matlab R2019b installation completed but it didn't apply the input txt file or ini file I created. So no License, Shortcut or app found in add and remove program.
You are right, I am probably not given the correct path for the input or installer.ini to complete.
This is what I've been using,
.\bin\win64\setup.exe -inputfile .\installer.ini timeout /t 60 >nul :WAITLOOP tasklist | find "MathWorksProductInstaller" >nul if not errorlevel 1 ( timeout /t 10 >nul goto :WAITLOOP )
I copied the ini file to .\bin\win64\ and I will add the path to the batch file
.\bin\win64\setup.exe -inputfile .\bin\win64\installer.ini timeout /t 60 >nul :WAITLOOP tasklist | find "MathWorksProductInstaller" >nul if not errorlevel 1 ( timeout /t 10 >nul goto :WAITLOOP )
Thank you for the comment.

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2024년 9월 24일

편집:

2024년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by