Forum Discussion

mor223's avatar
mor223
Copper Contributor
Mar 09, 2025

Microsoft Intune App Deployment

I have this autoinstall script for MATLAB 2024, the installer_input.text is configured with the right information inside it and every test I've done on my machine (locally) succeeded, however when I'm trying to deploy the software to a device and it creates a path in C:\Program Files\MATLAB however even though its creating this path at the installing stage it still not fully deploy the software like it should..

  • "%~dp0setup.exe" -inputFile "%~dp0installer_input.txt"
    TIMEOUT /T 120 /NOBREAK
    Exit 0
  • The install command in intune I set to cmd.exe /c autoinstall.bat 

what can i do to fix it? maybe the intune install command isn't good? or its within my autoinstall script

  • Sylvia1991's avatar
    Sylvia1991
    Copper Contributor

    .\setup.exe -inputFile .\installer_input.txt

    timeout /t 60 >nul

    :WAITLOOP

    tasklist | find "MathWorksProductInstaller" >nul

    if not errorlevel 1 (

    timeout /t 10 >nul

    goto :WAITLOOP

    )

Resources