Files
Michael Ramos 522df0dfb7 fix(uninstall): trust the completed-write echo however the PowerShell process ends
The remove script prints the rollback JSON, and the restore script now prints a
PLANNOTATOR_PATH_RESTORED sentinel, only after the registry write. A native
fault inside Add-Type or SendMessageTimeout cannot be caught by try/catch and
ends the process with an NTSTATUS exit code, so both callers now treat a
parseable echo as proof of the completed edit whether the process timed out or
exited non-zero for another reason, and warn about the broadcast instead of
misreporting a finished edit as a failure (which would also lose the rollback
value). A non-zero exit with no echo still fails closed.
2026-08-27 12:09:46 -07:00
..