Why does the Matlab Windows Uninstaller leave files behind, including java binaries, the uninstaller, and the product folder that should have been removed?
21 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Why does the Matlab Windows Uninstaller (tested up to R2023a R2) leave so many files behind when it’s done? In an age where cybersecurity is increasingly important, leaving behind java and java binaries e.g., R2023a\sys\java\jre\win64\jre\bin, or the uninstaller package itself, seems careless.
Yes, I know that these files could be manually deleted after the fact, but with application installs and removals being automated remotely by EDM (Enterprise device management), the expectation is that an application's uninstaller should remove everything including its files/executables, and the base application folder.
For a R2023a R2 install, then subsequent uninstall, the uninstaller leaves behind 452 files in 66 folders, totaling 212 MB
2 commentaires
Kautuk Raj
le 16 Juin 2023
Some files or folders may be shared by multiple applications or components on the system, and uninstalling one application may not remove all of the shared components. In the case of Matlab, the Java runtime environment may be used by many applications and may be shared across multiple installations, which could explain why the uninstaller leaves some Java-related files behind.
Réponses (1)
Anshuman
le 9 Août 2023
Hi Jeffrey,
The MATLAB Windows Uninstaller is designed to remove the majority of files and directories associated with MATLAB during the uninstallation process. However, it is possible that some files or directories may be left behind due to various reasons.
- MATLAB allows users to customize their preferences, settings, and toolboxes. During the uninstallation process, the Windows Uninstaller may not remove user-specific preferences or customizations to avoid unintentionally deleting important user data.
- MATLAB may utilize shared libraries and dependencies that are used by other applications or components on your system. The Windows Uninstaller may not remove these shared files to avoid interfering with other software that relies on them.
- If you have installed additional toolboxes or add-ons in MATLAB, the Windows Uninstaller may not remove these components as they are considered separate installations. You may need to uninstall them individually using their respective uninstallation procedures.
Hope it helps!
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!