Update windows.yml

This commit is contained in:
TheTank20 2023-07-08 13:11:44 -05:00 committed by GitHub
parent e29aa056ba
commit a72bbdf87a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ jobs:
"Microsoft.VisualStudio.Component.WinXP"
)
[string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_}
$Arguments = ('/c', "vs_installer.exe", '--layout', 'D:\a\VSLayout', $workloadArgs, '--quiet')
$Arguments = ('/c', "vs_installer.exe", '--layout', 'D:\a\VSLayout', $workloadArgs, '--passive')
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
if ($process.ExitCode -eq 0)
{