Skip to content

Commit 74fac56

Browse files
committed
formatting change
1 parent feb5297 commit 74fac56

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

support/developer/visualstudio/installation/troubleshoot-installation-issues.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,15 @@ If a repair doesn't fix your issue, search for your error message in the [Visual
4040
If you encounter an issue when you try to update the program, try deleting the Visual Studio Installer folder, and then rerun the installation bootstrapper. This action can solve certain update failures. It reinstalls the Visual Studio Installer files and resets the installation metadata. To delete the folder, follow these steps:
4141

4242
1. Close the Visual Studio Installer.
43+
4344
1. Delete the Visual Studio Installer folder. Typically, the folder path is _C:\Program Files (x86)\Microsoft Visual Studio\Installer_.
45+
4446
1. Run the Visual Studio Installer bootstrapper.
47+
4548
- You can get the bootstrapper for the latest version of Visual Studio from the [downloads page](https://visualstudio.microsoft.com/downloads). For previous Visual Studio versions, see the [older downloads page](https://visualstudio.microsoft.com/vs/older-downloads).
49+
4650
- You can also find the bootstrapper in your _Downloads_ folder. The bootstrapper is named `VisualStudioSetup.exe` for Visual Studio 2022 and later, or `vs_<edition>.exe` for Visual Studio 2019 and earlier.
51+
4752
1. Try again to install or update Visual Studio. If the Visual Studio Installer continues to fail, go to the next section.
4853

4954
#### 5. Report the problem to Microsoft Support
@@ -53,11 +58,13 @@ In some situations, corrupted files cause issues that require case-by-case troub
5358
##### [Visual Studio 2022 and later](#tab/vs-2022-older)
5459

5560
1. Collect your setup logs. For details, see [How to get the Visual Studio installation logs](#collect-installation-logs-for-microsoft-support).
61+
5662
1. Open the Visual Studio Installer. Then, select **Report a problem** to open the Visual Studio Feedback tool.
5763

5864
:::image type="content" source="media/troubleshoot-installation-issues/vs-installer-report-problem.png" alt-text="The Provide feedback button in the Visual Studio Installer." lightbox="media/troubleshoot-installation-issues/vs-installer-report-problem.png":::
5965

6066
1. Give your problem report a title, and provide the relevant details. The most recent setup log for the Visual Studio Installer is automatically added to the **Additional attachments** section of your problem report.
67+
6168
1. Select **Submit**.
6269

6370
##### [Visual Studio 2019 and earlier](#tab/vs-2019-earlier)
@@ -79,9 +86,13 @@ In some situations, corrupted files cause issues that require case-by-case troub
7986
As a last resort, you can remove all Visual Studio installation files and product information:
8087

8188
1. [Remove all files by using InstallCleanup.exe](/visualstudio/install/uninstall-visual-studio#remove).
89+
8290
1. Rerun the Visual Studio Installer bootstrapper.
91+
8392
- You can get the bootstrapper for the latest version of Visual Studio from the [downloads page](https://visualstudio.microsoft.com/downloads). For previous Visual Studio versions, see the [older downloads page](https://visualstudio.microsoft.com/vs/older-downloads).
93+
8494
- You can also find the bootstrapper in your _Downloads_ folder. The bootstrapper is named `VisualStudioSetup.exe` for Visual Studio 2022 and later, or `vs_<edition>.exe` for Visual Studio 2019 and earlier.
95+
8596
1. Try again to reinstall Visual Studio.
8697

8798
#### 7. Roll back to a previous install (Visual Studio 2022 and later)
@@ -94,11 +105,15 @@ If none of the previous steps help you to successfully update Visual Studio, you
94105
##### Roll back by using the Visual Studio Installer
95106

96107
1. Start **Visual Studio Installer** on your computer.
108+
97109
1. In the installer, look for the edition of Visual Studio to match the installed edition.
110+
98111
1. Select **More**.
112+
99113
1. Select **Rollback to previous version**.
100114

101115
:::image type="content" source="media/troubleshoot-installation-issues/rollback-from-previous-version.png" alt-text="Option to roll back to a previous program version." lightbox="media/troubleshoot-installation-issues/rollback-from-previous-version.png":::
116+
102117
1. To confirm the action, select **OK**.
103118

104119
##### Roll back by using the command line
@@ -126,8 +141,11 @@ Various situations can prevent administrator updates from applying correctly. Fo
126141
To provide feedback about Visual Studio administrator updates, or to report issues that affect the updates, use the following methods:
127142

128143
- Ask questions of the user community at the [Visual Studio Setup Q&A Forum](/answers/topics/vs-setup.html).
144+
129145
- Go to the [Visual Studio support page](https://visualstudio.microsoft.com/vs/support/), and check whether your issue is listed in the FAQ.
146+
130147
- [Provide feature feedback or report a problem](https://aka.ms/vs/wsus/feedback) to the Visual Studio team about your experience.
148+
131149
- Contact your organization's technical accounts manager for Microsoft.
132150

133151
## Collect installation logs for Microsoft Support
@@ -137,7 +155,9 @@ A Microsoft Support agent might ask you to collect setup logs by using the [Micr
137155
To collect the logs, follow these steps:
138156

139157
1. [Download the tool](https://aka.ms/vscollect).
158+
140159
1. Open an elevated Command Prompt window.
160+
141161
1. Run `Collect.exe` in the folder where you saved the tool.
142162

143163
You must run the tool under the same user account that you used for the failed installation attempt. If you run the tool from a different user account, set the `-user:<name>` option to specify the user account for the failed installation. For more options and usage information, run `Collect.exe -?` at an elevated command prompt.
@@ -151,6 +171,7 @@ Report product issues by using the [Report a Problem](/visualstudio/ide/how-to-r
151171
If your organization's Group Policy settings block the installation of the WebView2 component, you can't install Visual Studio because the installer requires WebView2. If this issue occurs, check these policies:
152172

153173
- If the [Microsoft Edge 'Install (WebView)'](/deployedge/microsoft-edge-update-policies#install-webview) policy is configured, that policy determines whether WebView2 can be installed.
174+
154175
- If the _Microsoft Edge 'Install (WebView)' policy_ isn't configured, the [Microsoft Edge 'InstallDefault'](/deployedge/microsoft-edge-update-policies#installdefault) policy determines whether WebView2 can be installed.
155176

156177
> [!WARNING]

0 commit comments

Comments
 (0)