| ... | @@ -521,7 +521,7 @@ jobs: | ... | @@ -521,7 +521,7 @@ jobs: |
| 521 | $setupExe = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe" | 521 | $setupExe = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe" |
| 522 | $proc = Start-Process -FilePath $setupExe ` | 522 | $proc = Start-Process -FilePath $setupExe ` |
| 523 | -ArgumentList "modify", "--installPath", "`"$installPath`"", "--add", ` | 523 | -ArgumentList "modify", "--installPath", "`"$installPath`"", "--add", ` |
| 524 | "Microsoft.VisualStudio.Component.VC.Tools.x86.x64.Spectre", "--quiet", "--norestart" ` | 524 | "Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre", "--quiet", "--norestart" ` |
| 525 | -Wait -PassThru -NoNewWindow | 525 | -Wait -PassThru -NoNewWindow |
| 526 | if ($null -eq $proc -or $proc.ExitCode -ne 0) { | 526 | if ($null -eq $proc -or $proc.ExitCode -ne 0) { |
| 527 | $code = if ($null -ne $proc) { $proc.ExitCode } else { 1 } | 527 | $code = if ($null -ne $proc) { $proc.ExitCode } else { 1 } |