Skip to content

Commit d90df83

Browse files
committed
Address user feedback
1 parent ae294bf commit d90df83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ For lists of the workloads and components that you can install by using the comm
5050
\\layoutserver\share\path\vs_enterprise.exe update --wait --passive --norestart --installPath "C:\installPathVS"
5151
```
5252

53-
Alternatively, you can also update your Visual Studio instance in one step by using the installer on the client. [Standard users, if they've been granted appropriate permissions](https://aka.ms/vs/setup/policies), can programmatically execute the update command using the installer, but they aren't allowed to use the `--passive` or `--quiet` switch. Note that you can't initiate the installer programmatically from the same directory that the installer resides in.
53+
Alternatively, you can also update your Visual Studio instance in one step by using the installer on the client. Note that you can't initiate the installer programmatically from the same directory that the installer resides in.
5454

5555
```shell
5656
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" update --passive --norestart --installPath "C:\installPathVS"
5757
```
5858

59+
[Standard users, if they've been granted appropriate permissions](https://aka.ms/vs/setup/policies), can programmatically execute the update command using the installer, but they aren't allowed to use the `--passive` or `--quiet` switch.
60+
5961
## Using --wait
6062

6163
* Use `--wait` in batch files or scripts to wait for the initial command to complete before the next command is executed. For batch files, an `%ERRORLEVEL%` environment variable contains the return value of the command, as documented in the [Use command-line parameters to install Visual Studio](use-command-line-parameters-to-install-visual-studio.md) page. Some command utilities require other parameters to wait for completion and to get the installer's return value.

0 commit comments

Comments
 (0)