MATLAB: How to uninstall mglinstaller.exe from the MATLAB C/C++ Math Library and all the files extracted and then reinstall it on the same computer

MATLAB C/C++ Math Librarymglinstaller.exereinstalluninstall

I would like to remove all of the files associated with mglinstaller.exe so that I may perform a clean reinstall.

Best Answer

Documentation on this topic can be found in a couple of places. Please check under 'Distributing Stand-Alone Applications' in the following location:
If you have installed mglinstaller.exe or any of the files exctracted, you will not be able to reinstall these files. You will have to manually delete all of the files associated with this automatic installer before re-installing them. The MGLinstaller installs numerous DLLs. Therefore, to ensure that you delete the correct files, please delete both the BIN and TOOLBOX folders where you specified the installer to register.
For example, if you specified the 'testMGLinstaller' folder to include all of the files, you will need to delete the following folders:
C:\WINNT\Profiles\mydir\Desktop\testMGLinstaller\bin
C:\WINNT\Profiles\mydir\Desktop\testMGLinstaller\toolbox
Once these two folders have been deleted, you should be able to run the MGLinstaller again.