Skip to content

Replace the pre-rename startset.exe CLI with a link to managedstatekeeper.exe - #31

Merged
rodchristiansen merged 2 commits into
mainfrom
fix/remove-legacy-startset-exe
Oct 10, 2026
Merged

rodchristiansen merged 2 commits into
mainfrom
fix/remove-legacy-startset-exe

Conversation

@rodchristiansen

@rodchristiansen rodchristiansen commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #30. The CLI was renamed from startset.exe to managedstatekeeper.exe, and because no current package owns startset.exe, upgrades left the old binary in place and on PATH, where it still ran unsigned payloads. Postinstall now replaces it with a symbolic link to managedstatekeeper.exe, so the old name keeps working and goes through signature enforcement. It uses a symbolic link because the MSI replaces managedstatekeeper.exe on upgrade, which would leave a hard link pointing at the old copy.

@rodchristiansen rodchristiansen changed the title Remove the pre-rename startset.exe CLI on install Replace the pre-rename startset.exe CLI with a link to managedstatekeeper.exe Oct 10, 2026
@rodchristiansen
rodchristiansen merged commit 447da64 into main Oct 10, 2026
1 check passed
@rodchristiansen
rodchristiansen deleted the fix/remove-legacy-startset-exe branch October 10, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrades leave the pre-rename startset.exe CLI in place

1 participant