This commit is contained in:
2025-09-24 14:30:31 -04:00
parent 1aab6b3755
commit d4acdaae9e
+1 -1
View File
@@ -92,5 +92,5 @@ Catch { Write-Error "The Windows Installation Assistant could not be downloaded`
If ( -not (Test-Path $WIAInstaller) ) { Write-Error "The Windows Installation Assistant could not be found after successfully downloading" ; Exit 1 }
Write-Output "Launching upgrade"
Try { Start-Process -FilePath $WIAInstaller -ArgumentList "/QuietInstall /SkipEULA /Auto Upgrade /SkipSelfUpdate /ShowProgressInTaskBarIcon /SkipCompatCheck" }
Catch { Write-Output $_.Exception.Message ; Exit 1}
Catch { Write-Output $_.Exception.Message ; Exit 1 }
Exit 0