fix: write Windows config to ProgramData and reseed per-user trays#619
fix: write Windows config to ProgramData and reseed per-user trays#619madhavilosetty-intel wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Windows NSIS installer/uninstaller for the Console to seed configuration from a machine-wide location (%ProgramData%) so each user’s system tray can re-seed from a common config, and to more aggressively clear per-user state during reinstall/uninstall flows.
Changes:
- Write the generated
config.ymlto%ProgramData%\device-management-toolkit\config.ymlviaSetShellVarContext all. - On install/reinstall, delete each profile’s per-user
config.ymlso trays will re-seed from the machine config. - On uninstall (when opting in), remove per-user data directories for every profile, and remove the machine-wide config seed.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
77d3504 to
c2c6ab6
Compare
Write the machine config to %ProgramData% (the console's Windows machineConfigPath) so each user's tray seeds from it, clear stale per-user config on (re)install, and remove every profile's per-user data on uninstall.
c2c6ab6 to
a7791f4
Compare
|
I've tested this on Windows 11, and everything looks good from my testing. Here's what I verified:
A couple of items that might be worth considering for a future enhancement (perhaps Q3'26):
Other than that, great job getting this done! |
Write the machine config to %ProgramData% (the console's Windows machineConfigPath) so each user's tray seeds from it, clear stale per-user config on (re)install, and remove every profile's per-user data on uninstall.