Refactor Win32 app installation to process sources separately

Updates the Win32 app installation script to handle WinGet-sourced apps and user-defined apps in two separate batches instead of merging them. This ensures all WinGet apps are installed before any user-defined apps.

The core installation logic is extracted into a reusable function, improving script structure and readability.

Additionally, removes a pause command and a redundant console message from other scripts to improve automation flow.
This commit is contained in:
rbalsleyMSFT
2025-07-25 18:35:19 -07:00
parent b4f1985c99
commit 30c7f6f705
3 changed files with 87 additions and 66 deletions
@@ -266,5 +266,4 @@ foreach ($appFolder in Get-ChildItem -Path $basePath -Directory) {
# Final cleanup
Write-Host "Installation process finished."
pause
Remove-TemporaryFiles