Skip to content

Commit 4c013dd

Browse files
committed
Add add to h2
1 parent d08e9ee commit 4c013dd

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

docs/install/command-line-parameter-examples.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
title: Command-line parameter examples for installation
33
description: Customize command-line parameter examples to create your own installation of Visual Studio by setting parameters, such as installPath, wait, all, remove, and more.
4-
ms.date: 10/03/2024
4+
ms.date: 10/14/2024
55
ms.topic: conceptual
66
author: anandmeg
77
ms.author: meghaanand
88
manager: mijacobs
9-
109
ms.subservice: installation
1110
---
1211
# Command-line parameter examples for Visual Studio installation
@@ -21,7 +20,7 @@ You can use the `^` character at the end of a command line to concatenate multip
2120

2221
For lists of the workloads and components that you can install by using the command line, see the [Visual Studio workload and component IDs](workload-and-component-ids.md) page.
2322

24-
## Install using --installPath alongside the bootstrapper
23+
## Install using --installPath and --add alongside the bootstrapper
2524

2625
* Install a minimal instance of Visual Studio, with no interactive prompts, but progress displayed:
2726

@@ -105,24 +104,6 @@ The following command is an example of using `--wait` with the PowerShell script
105104
vs_enterprise.exe --all
106105
```
107106

108-
## Using --add to add workloads or components
109-
110-
* Use `--add` with the install command to add one or more workload or component IDs. To include multiple workloads or components, repeat the --add command.
111-
112-
```shell
113-
vs_enterprise.exe --installPath "C:\VS" ^
114-
--add Microsoft.VisualStudio.Workload.ManagedDesktop ^
115-
--includeRecommended
116-
```
117-
118-
* Use `--add` with the modify command to add one or more workload or component IDs. To include multiple workloads or components, repeat the --add command.
119-
120-
```shell
121-
vs_enterprise.exe modify --installPath "C:\VS" ^
122-
--add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended ^
123-
--add Microsoft.VisualStudio.Workload.Data;includeRecommended;includeOptional
124-
```
125-
126107
## Using --includeRecommended
127108

128109
* Install a second instance of Visual Studio Professional using a nickname on a machine with Visual Studio Community edition already installed, with support for Node.js development:

0 commit comments

Comments
 (0)