Skip to content

Commit b753e19

Browse files
authored
Merge pull request #10544 from anandmeg/vs-rollback
Rollback feature in 17.4
2 parents dedc44a + 639850f commit b753e19

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed
Loading
Loading

docs/install/troubleshooting-installation-issues.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Troubleshoot installation or upgrade issues
33
description: Sometimes, things can go wrong. If your Visual Studio installation or upgrade fails, this page can help.
4-
ms.date: 2/4/2022
4+
ms.date: 11/08/2022
55
ms.custom: vs-acquisition
66
ms.topic: troubleshooting
77
helpviewer_keywords:
@@ -108,10 +108,50 @@ As a last resort, you can remove all Visual Studio installation files and produc
108108
1. Rerun the Visual Studio Installer bootstrapper. You might find the bootstrapper in your **Downloads** folder with a file name that matches a `vs_[Visual Studio edition]__*.exe` pattern. Or, you can download the bootstrapper for your edition of Visual Studio from the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads) page.
109109
1. Try to reinstall Visual Studio.
110110

111+
::: moniker range="vs-2019"
112+
111113
### Step 7 - Contact us (optional)
112114

113115
If none of the previous steps help you successfully install or upgrade Visual Studio, contact us by using our [**live chat**](https://visualstudio.microsoft.com/vs/support/#talktous) support option (English only) for further assistance.
114116

117+
::: moniker-end
118+
119+
::: moniker range=">=vs-2022"
120+
121+
### Step 7 - Rollback
122+
123+
If none of the previous steps help you successfully upgrade Visual Studio, you can try to rollback to your previously installed version. Learn more about the [rollback feature in Visual Studio](https://aka.ms/devblog-rollback) before trying to rollback.
124+
125+
> [!NOTE]
126+
> With Visual Studio 2022 17.4, you'll be able to rollback to your previously installed version.
127+
> - For the Release channel, you can rollback to your previously installed version if it was either 17.0.10 or higher, or 17.1.7 or higher.
128+
> - For the Preview channel, you can rollback to your previously installed version if it was 17.2 Preview 1 or higher.
129+
130+
You can rollback to your previously installed version by using the Visual Studio Installer or by using the command line.
131+
132+
#### Rollback using the Visual Studio Installer
133+
134+
1. Launch the **Visual Studio Installer** on your computer.
135+
1. In the installer, look for the edition of Visual Studio that you installed. Next, choose **More**, and then choose **Rollback to previous version**.
136+
137+
:::image type="content" source="media/vs-2022/rollback-from-previous-version.png" alt-text="Screenshot of the Rollback to previous version option.":::
138+
139+
1. Select **OK** to confirm your choice.
140+
141+
#### Rollback using the command line
142+
143+
The `rollback` command is also available programmatically to users who manage updates through scripts or command line.
144+
145+
Below is an example command that you can run to rollback using the command line:
146+
147+
`"C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" rollback -–installPath "C:\Program Files\Microsoft Visual Studio\2022\Preview"`
148+
149+
### Step 8 - Contact us (optional)
150+
151+
If none of the previous steps help you successfully install or upgrade Visual Studio, contact us by using our [**live chat**](https://visualstudio.microsoft.com/vs/support/#talktous) support option (English only) for further assistance.
152+
153+
::: moniker-end
154+
115155
## Offline installations
116156

117157
Here are some known issues and workarounds that might help you when you create an [offline installation](create-an-offline-installation-of-visual-studio.md) and install from a local layout.

0 commit comments

Comments
 (0)