Repository navigation
Add a Programs & Games view to uninstall an app and its leftovers - #3
Merged
Merged
Conversation
Search installed programs and games from the uninstall registry, Steam, Epic, GOG, Roblox, and the Microsoft Store. Picking one lists the install folder, matching leftovers, shortcuts, and registry keys, then runs the official uninstaller before cleaning up what remains. Co-authored-by: process631 <process631@users.noreply.github.com>
LongPath.Normalize treated HKCU\Software\... as a relative file path and prefixed the test folder, so the assertion missed a key the matcher had correctly selected. Co-authored-by: process631 <process631@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Programs & Games searches for an installed program or game, shows everything removal would touch, and deletes it only after a confirmation. The official uninstaller runs first when one exists. Files that remain go to the Recycle Bin by default, through the same delete path the rest of the app uses.
Where programs come from
WOW6432Node).itemmanifests%LOCALAPPDATA%\Roblox\Versions(Player and Studio stay separate)What a removal can include
The install folder, matching leftovers in AppData (Local, LocalLow, Roaming), ProgramData, Documents, Saved Games, and temp, desktop and per-user Start menu shortcuts, and related registry keys. Each line shows a size. Untick anything that should stay. Preview is a dry run and is written to the deletion history.
Silent uninstall is used only when it is real: a quiet uninstall string,
msiexec /qn, or Inno Setup/VERYSILENT. Otherwise the program's own uninstaller is shown. Steam games are handed tosteam://uninstall/<appid>. Store apps useRemove-AppxPackage.If the program or its launcher is running, DiskSweeper asks to close it first. It does not close Steam when Steam is doing the uninstall. Administrator permission is requested by the uninstaller itself, or by the existing elevated helper for HKLM registry keys.
Safety
Epic Games,steamapps\common,GOG Galaxy\Games), and other shared parents are never deleted.Games,App,Cache) does not search for leftovers, and a generic install location is refused.Limits