Bug 14287 – D uninstaller nukes the entire D installation folder, including any user files

Status
NEW
Severity
critical
Priority
P2
Component
installer
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2015-03-15T17:03:17Z
Last change time
2025-01-02T15:46:22Z
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: installer#677 →

Comments

Comment #0 by dlang-bugzilla — 2015-03-15T17:03:17Z
The D1 and D2 Windows uninstallers currently do a recursive rmdir on the installation directory: RMDir /r "$INSTDIR\dmd2" RMDir "$INSTDIR" Two users who I've introduced to D have now pointed this out. Although no important data is lost, this is still rather unpleasant. Ideally, we should only delete those files that we have installed, if they have not changed since installation. Deleting only the list of files that have been installed would also be acceptable. For the moment, I've created a PR to warn users before the RMDir is executed: https://github.com/D-Programming-Language/installer/pull/121
Comment #1 by robert.schadek — 2025-01-02T15:46:22Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/677 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB