Filter löschen
Filter löschen

Non-interactive uninstall - "Exception Calling Main"

43 Ansichten (letzte 30 Tage)
Daniel Wilborn
Daniel Wilborn am 16 Mai 2022
Beantwortet: Akash am 27 Dez. 2023
Hi All,
I'm in the process of automating the Matlab 2021b deployment for my work place. We use a concurrent network license and the powershell appdeploytoolkit to accomplish most installation automation. I've got install working fine, but am unable to get the uninstall to work properly. I've referenced https://www.mathworks.com/help/install/ug/uninstall-mathworks-products.html and am using the appropriate parameters for the command "uninstall.exe -inputFile C:\temp\my_uninstall.txt" as described. Unfortunately, even when running this from a basic command line prompt I receive the Java error "Exception calling main", the uninstall log reflects "Exception in thread main".
I'm a bit stumped, any help is appreciated.
Thanks,
Daniel

Antworten (1)

Akash
Akash am 27 Dez. 2023
Hi Daniel,
I understand that you are encountering difficulties with the uninstallation process of MATLAB 2021b.
To address this issue, I recommend navigating to the 'R2021b\uninstall\bin\win64' directory and directly executing the 'uninstall.exe' application from there.
If the problem persists, you might consider manually removing the MATLAB installation by navigating to the MATLAB directory on your drive and deleting all associated files and folders. Afterwards, a registry cleanup might be necessary to ensure that all traces of the installation are removed from your system.
You can also refer to the following MATLAB Central discussion, which covers steps on how to fully uninstall MATLAB from your system in the event that the uninstaller fails:-
I hope it helps,
Thanks and regards,
Akash.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by