Skip to content

Commit d4dd221

Browse files
authored
Disable vs_installer self-update (#976)
As suggested on the [DevComm](https://developercommunity.visualstudio.com/t/Visual-Studio-Installer-randomly-fails-t/10924708?) thread, this adds `--noUpdateInstaller` to the `vs_installer.exe` invocation to disable the installer self-update. This solves the issue of `vs_installer.exe` silently failing to install the requested packages.
1 parent 84a73db commit d4dd221

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/setup-build/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ runs:
135135
$process = Start-Process "$VSInstaller" `
136136
-PassThru `
137137
-ArgumentList "modify", `
138+
"--noUpdateInstaller", `
138139
"--installPath", "`"$InstallPath`"", `
139140
"--channelId", "https://aka.ms/vs/17/release/channel", `
140141
"--quiet", "--norestart", "--nocache", `
@@ -210,6 +211,7 @@ runs:
210211
$process = Start-Process "$VSInstaller" `
211212
-PassThru `
212213
-ArgumentList "modify", `
214+
"--noUpdateInstaller", `
213215
"--installPath", "`"$InstallPath`"", `
214216
"--channelId", "https://aka.ms/vs/17/release/channel", `
215217
"--quiet", "--norestart", "--nocache", `

0 commit comments

Comments
 (0)