How to install and uninstall ‘Matlab 2013b’ Silently.

 

 

 

If you have .ISO file as a source then extract it with ‘isoopener_setup.exe’

 

 

 

After extracting we will get files and folders as mentioned below

 

 

 

 

Now to install the MATLAB we need to pass below command:

 

 

 

setup.exe" -inputFile   “Path of installer_input.txt”

 

 

 

installer_input.txt file will be present in the source folder only.

 

Before you  entering the above command to install silently you need to edit the ‘installer_input.txt’ file for below values:

 

 

 

destinationFolder=C:\Program Files\MATLAB\R2013b

 

 

 

agreeToLicense=yes

 

 

 

mode=silent

 

 

 

licensePath= C:\ProgramFiles%\MATLAB\R2013b\licenses\ License.lic

 

 

 

If you want to copy the license file after installation (Post Installation) then comment the above line as..

 

 

 

# licensePath=C:\Program Files\MATLAB\R2013b\network.lic

 

 

 

Or before installation u need to copy this file to same location.

 

 

 

After installation you can copy the provided license file to “C:\ProgramFiles%\MATLAB\R2013b\licenses\”

 

 

 

“C:\ProgramFiles%\MATLAB\R2013b\licenses\License.lic”

 

 

 

Once u done the changes as mentioned above in the ‘installer_input.txt’ file

 

 

 

Enter the below command to install silently:

 

 

 

setup.exe" -inputFile   “Path of installer_input.txt”

 

 

 

For uninstalling MATLAB use the below command:

 

"%SystemDrive%\Program Files\MATLAB\R2013b\uninstall\bin\win64\uninstall.exe" -inputFile "path to uninstaller_input.txt"

 

Eg for path location: "XXX\R2013b_Windows\utils\uninstall\uninstaller_input.txt"

 

Before entering the above command please do the below changes in the ‘uninstaller_input.txt’ file:

 

outputFile=C:\Windows\debug\MSIPackages\Mathworks_Matlab_2013a_uninstall.log (Path for ‘outputFile’ is optional you can give any path.)

 

mode=silent

 

 

 

Then enter below command to uninstall silently.

 

"%SystemDrive%\Program Files\MATLAB\R2013b\uninstall\bin\win64\uninstall.exe" -inputFile "path to uninstaller_input.txt"

 

 

 

 

 

 

 

1 Comment   [ + ] Show Comment

Comments

  • Licenses folder will not be present at C:\ProgramFiles%\MATLAB\R2013b\ we need to create it and copy the license file. If you miss this then after launching the shortcut it will ask for license and if you browse for license file then it will create a licenses folder under C:\ProgramFiles%\MATLAB\R2013b and it will rename the License.lic file to network.lic.
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity