Skip to content

Commit 70b753d

Browse files
authored
Change Windows installation instructions (#361)
* change windows "app store" to microsoft store * ditto * remove start /w for windows * forgor to remove the actual start command * install vs using winget when used, else use start * we don't need no downloading the vs installer
1 parent d8e35a0 commit 70b753d

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

download/_windows.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Windows has the following additional platform specific dependencies:
2020

2121
#### Install using the Windows Package Manager
2222

23-
The [Windows Package Manager](https://docs.microsoft.com/windows/package-manager/) can be found in the [App Store](https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1) or be [installed directly](ms-appinstaller:?source=https://aka.ms/getwinget).
23+
The [Windows Package Manager](https://docs.microsoft.com/windows/package-manager/) can be found in the [Microsoft Store](https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1) or be [installed directly](ms-appinstaller:?source=https://aka.ms/getwinget).
2424

2525
#### Install using Scoop
2626

@@ -36,20 +36,16 @@ Invoke-RestMethod -Url 'get.scoop.sh' | Invoke-Expression
3636
The platform dependencies cannot be installed through the Windows Package Manager as the install rules do not install the components necessary. They will be installed through Visual Studio installer.
3737

3838
#### With Winget (Windows Package Manager):
39-
~~~ pwsh
39+
~~~ cmd
4040
winget install Git.Git
4141
winget install Python.Python.3.10
42-
43-
curl -sOL https://aka.ms/vs/16/release/vs_community.exe
44-
start /w vs_community.exe --passive --wait --norestart --nocache ^
45-
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community" ^
46-
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
47-
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
48-
del /q vs_community.exe
42+
winget install Microsoft.VisualStudio.2019.Community --force --custom "--add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
4943
~~~
5044

5145
#### With Scoop:
52-
~~~ pwsh
46+
> **NOTE:** This code snippet MUST be run in a traditional Command Prompt (`cmd.exe`)
47+
48+
~~~ cmd
5349
# Scoop already comes pre-installed with Git, so no need to re-install it.
5450
scoop bucket add versions
5551
scoop install python310

getting-started/_installing.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ In order to develop applications, particularly with the Swift Package Manager, y
6969

7070
##### Install using the Windows Package Manager
7171

72-
The [Windows Package Manager](https://docs.microsoft.com/windows/package-manager/) can be found in the [App Store](https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1) or be [installed directly](ms-appinstaller:?source=https://aka.ms/getwinget).
72+
The [Windows Package Manager](https://docs.microsoft.com/windows/package-manager/) can be found in the [Microsoft Store](https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1) or be [installed directly](ms-appinstaller:?source=https://aka.ms/getwinget).
7373

7474
#### Install using Scoop
7575

@@ -82,32 +82,26 @@ Invoke-RestMethod -Url 'get.scoop.sh' | Invoke-Expression
8282

8383
0. Install required dependencies:
8484

85-
The platform dependencies cannot be installed through the currently supported package managers as the install rules do not install the components necessary. They will be installed through Visual Studio installer.
85+
The platform dependencies cannot be installed through the currently supported package managers as the install rules do not install the components necessary. They will be installed through the Visual Studio installer.
8686

8787
#### With Winget (Windows Package Manager):
88-
~~~ pwsh
88+
~~~ cmd
8989
winget install Git.Git
9090
winget install Python.Python.3.10
9191
92-
curl -sOL https://aka.ms/vs/16/release/vs_community.exe
93-
start /w vs_community.exe --passive --wait --norestart --nocache ^
94-
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community" ^
95-
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
96-
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
97-
del /q vs_community.exe
92+
winget install Microsoft.VisualStudio.2019.Community --force --custom "--add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
9893
~~~
9994

10095
#### With Scoop:
101-
~~~ pwsh
96+
> **NOTE:** This code snippet MUST be run in a traditional Command Prompt (`cmd.exe`)
97+
98+
~~~ cmd
10299
# Scoop already comes pre-installed with Git, so no need to re-install it.
103100
scoop bucket add versions
104101
scoop install python310
105102
106103
curl -sOL https://aka.ms/vs/16/release/vs_community.exe
107-
start /w vs_community.exe --passive --wait --norestart --nocache ^
108-
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community" ^
109-
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
110-
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
104+
start /w vs_community.exe --passive --wait --norestart --nocache --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community" --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
111105
del /q vs_community.exe
112106
~~~
113107

0 commit comments

Comments
 (0)