Non-interactive uninstall - "Exception Calling Main"

조회 수: 58 (최근 30일)
Daniel Wilborn
Daniel Wilborn 2022년 5월 16일
답변: Akash 2023년 12월 27일
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