Repository navigation
Description
Objective
Correct the machine-scope Start Menu entry in the finalized Windows MSI. The per-machine package must expose and remove its only shortcut for all users, not the installing account only.
Evidence
Exact reviews of runtime propagation #2029/#2030 found a blocker in apps/desktop/scripts/build-windows-machine-installer.mjs:232-241: the MSI declares InstallScope="perMachine", installs under Program Files, and registers protocol/App Paths in HKLM, but its only shortcut is under ProgramMenuFolder with an HKCU key path. Managed installation as administrator or SYSTEM can therefore hide the shortcut from standard users. Existing focused tests currently assert this incorrect per-user behavior.
Required correction
- Change the shortcut directory root to WiX
CommonProgramMenuFolderand retain theProPR Desktopsubfolder, shortcut target, working directory, description, AUMID, and uninstallRemoveFolderbehavior. - Give
ApplicationStartMenuShortcutComponenta machine-scope 64-bit component (Win64="yes") and replace its HKCU key path with an HKLM key path under the existing product-ownedSoftware\ProPR\Desktopnamespace. - Keep exactly one component key path and ensure uninstall removes the common shortcut folder and product marker reliably.
- Update focused source assertions to require
CommonProgramMenuFolder, HKLM, and the 64-bit component, and to reject the old exact per-user directory and every HKCU registry value. - Extend the existing native Windows installed-user validation, where practical, to prove the common shortcut is visible to the ordinary user after machine installation and absent after uninstall. Use fixed/bounded checks and do not weaken the existing Program Files, protocol, architecture, or smoke evidence.
- Preserve the one machine-wide MSI artifact, no-Squirrel boundary, signing/update policy, package contents, protocol/App Paths registration, versioning, and all unrelated release behavior.
Integration
Target only the runtime epic branch selected by base-1952-epic-electron-runtime-app; never target main. Run focused installer/source tests, desktop tests/typecheck, x64/ARM64 MSI validation, installed-user smoke, diff-check, and full CI. Do not merge the generated PR; root will review and merge it into runtime so #2029/#2030 update together.
Activity
propr-dev commentedon Aug 31, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol2032/gpt-5.6-sol-make-windows-msi-start-me-20260831-2021-uou1952-epic-electron-runtime-appissue-2032-20260831-2021-gpt-5.6-sol-uou🔍 Track Task Execution
fix(ai): Resolve issue #2032 - Make Windows MSI Start Menu shortcut m…
integry commentedon Sep 4, 2026
Implemented by #2034, merged into
1952-epic-electron-runtime-app(30a749b). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.