Non-interactive uninstall - "Exception Calling Main"

63 次查看(过去 30 天)
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

回答(1 个)

Akash
Akash 2023-12-27
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by