how can I silently uninstall MatLab R2017

Hello
I'm trying to use the following commend line to uninstall silently MatLab 2017
"C:\Program Files\MATLAB\R2019b\uninstall\bin\win64\uninstall.exe" -inputFile C:\temp\uninstaller_input.txt
But I'm not able to create the answer file.
Could you give me a sample?
Best Regards
Pascal

 Accepted Answer

Ajay Pattassery
Ajay Pattassery on 14 Nov 2019
Edited: Ajay Pattassery on 14 Nov 2019

6 Comments

Hello
I know that I have to use the " uninstaller_input.txt" but it never works so do you have a sample about how to write the file?
I tried to use
##silent:
#silent:
silent:
##silent
#silent
silent
Into the full of text or as a specific line or only with this parameter in the file.
Nothing works.
Thanks for your help
The template file uninstaller_input.txt will be present in the following location.
cd(matlabroot)
cd uninstall
Make a copy of the template file and make necessary edit.
Let me know if you need further help in editing the file
Hello Ajay
I know my English is not very good but what I need is the " necessary edit "
I tried to edit the file 100x but nothing works.
Could you show me a file edited to make a silent install?
Thank you for your help.
Best Regards
Pascal
I have attached a sample uninstaller_input.txt file.
Beware this will completely uninstall MATLAB.
Hello Ajay
OK
If you open the file with notepad, the file looks completely different.
You will have 6 long lines.
Now I have opened the file with Notepad++
The result is more understandable.
And the best, is that is working
Thank you very much.
Best Regards
Pascal
I am happy that it worked! Please accept the answer if it was helpful.

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!