Skip to content

Commit 60a35ed

Browse files
Aviv Kellertargos
Aviv Keller
authored andcommitted
tools: make choco install script more readable
PR-URL: #54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent b12b4a2 commit 60a35ed

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tools/msvs/install_tools/install_tools.bat

+12-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,15 @@ pause
5252

5353
cls
5454

55-
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command Start-Process '%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe' -ArgumentList '-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString(''https://chocolatey.org/install.ps1'')); choco upgrade -y python visualstudio2019-workload-vctools; Read-Host ''Type ENTER to exit'' ' -Verb RunAs
55+
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" ^
56+
-NoProfile ^
57+
-InputFormat None ^
58+
-ExecutionPolicy Bypass ^
59+
-Command Start-Process ^
60+
'%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe' ^
61+
-ArgumentList '-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command ^
62+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ^
63+
iex ((New-Object System.Net.WebClient).DownloadString(''https://chocolatey.org/install.ps1'')); ^
64+
choco upgrade -y python visualstudio2019-workload-vctools; ^
65+
Read-Host ''Type ENTER to exit'' ' ^
66+
-Verb RunAs

0 commit comments

Comments
 (0)