Non-interactive uninstall - "Exception Calling Main"
51 次查看(过去 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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!