Files
Windows/powershell
olivier a77df36f8b Add winget health check and reinstall before starting installs
Test-WingetHealth verifies winget --version and source list exit 0.
If KO, Invoke-WingetReinstall removes the existing App Installer AppX
and reinstalls from the provisioned package, then re-checks health.
Reinstall requires admin rights; non-admin sessions exit with a clear
error message.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:47:40 +02:00
..