Repository navigation
v6.5.1 - safe leftover removal, unelevated HKCU uninstallers, full uninstall - #9
Merged
Merged
Conversation
…install - Leftovers: InstallLocation counts only when the folder name matches the app/publisher; hard safety checks (protected and personal folders, parents of protected paths, links, 8.3 paths, folders with programs or another app inside); 30-day quarantine instead of deletion; link-safe purge. - HKCU uninstall entries run without administrator rights via a one-shot RunLevel Limited task; full command line is logged. - Test-SafeToDelete checks protected folders as prefixes and covers every profile and known folder. - install.ps1 -Uninstall removes the \WinSenior\ scheduled tasks and %ProgramFiles%\WinSenior (one UAC prompt if needed).
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.
Security fixes from the v6.5.0 review.
InstallLocationcounts only when the folder name matches the app or publisher. Before anything is touched, hard checks refuse protected / personal folders and their parents, links, 8.3 paths, and folders that still contain programs or another app. Leftovers go to a 30-day quarantine instead of being deleted.RunLevel Limitedtask). The full command is logged.Test-SafeToDeletechecks protected folders as prefixes, covering every profile and known folder.install.ps1 -Uninstallremoves the\WinSenior\scheduled tasks and%ProgramFiles%\WinSenior.Pester 397/397 locally (pwsh 7).