mirror of https://github.com/UMSKT/xpmgr.git
Update windows.yml
This commit is contained in:
parent
ba52c0f95d
commit
c3cb798a75
|
@ -46,7 +46,7 @@ jobs:
|
||||||
"Microsoft.VisualStudio.Component.WinXP"
|
"Microsoft.VisualStudio.Component.WinXP"
|
||||||
)
|
)
|
||||||
[string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_}
|
[string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_}
|
||||||
$Arguments = ('/c', 'D:\a\VSLayout\vs_enterprise.exe', 'modify', '--installPath', "`"$InstallPath`"", '--quiet', '--norestart', '--nocache', '--noweb')
|
$Arguments = ('/c', 'D:\a\VSLayout\vs_enterprise.exe', 'modify', '--installPath', "`"$InstallPath`"", '--quiet', '--norestart', '--nocache', '--noweb', '--wait')
|
||||||
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
|
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
|
||||||
if ($process.ExitCode -eq 0)
|
if ($process.ExitCode -eq 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue