minor
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user