You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/developer/visualstudio/installation/install-failure-2017-2019-2022.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ ms.custom: sap:Installation\Setup, maintenance, or uninstall
10
10
11
11
_Applies to:_ Visual Studio 2017, 2019, and 2022
12
12
13
-
When you attempt to install Visual Studio 2017, 2019, or 2022 you might experience an issue where the installation wizard disappears unexpectedly or returns an error message that indicates some installation files couldn't be downloaded. This article provides a solution that resolves these installation issues and enables you to successfully install Visual Studio.
13
+
When you try to install Visual Studio 2017, 2019, or 2022, you might encounter a problem where the installation wizard unexpectedly closes or returns an error message that indicates it couldn't download some installation files. This article provides a solution that resolves these installation problems and enables you to successfully install Visual Studio.
14
14
15
15
## Symptoms
16
16
17
-
The symptoms of this issue depends on whether you are attempting an [online install](/visualstudio/install/install-visual-studio) or an [offline install](/visualstudio/install/create-an-offline-installation-of-visual-studio).
17
+
The symptoms of this problem depend on whether you're attempting an [online install](/visualstudio/install/install-visual-studio) or an [offline install](/visualstudio/install/create-an-offline-installation-of-visual-studio).
18
18
19
19
### Online install
20
20
@@ -24,7 +24,7 @@ When you attempt an _online install_ of Visual Studio 2017, 2019, or 2022, the i
24
24
25
25
:::image type="content" source="./media/install-failure-2017-2019-2022/install-wizard-set-up-things.png" alt-text="Screenshot of the Visual Studio installation wizard with a message that the installer needs to set up a few things so that you can configure your installation":::
26
26
27
-
After you select **Continue** in the message dialog, the installation wizard disappears and the install stops.
27
+
After you select **Continue** in the message dialog, the installation wizard closes and the install stops.
28
28
29
29
### Offline install
30
30
@@ -34,7 +34,7 @@ When you attempt an _offline install_ of Visual Studio 2017, 2019, or 2022 on a
34
34
35
35
:::image type="content" source="./media/install-failure-2017-2019-2022/install-wizard-download-error.png" alt-text="Screenshot of the Visual Studio installation wizard with an error message that the installer was unable to download installation files":::
36
36
37
-
If your device has event logging enabled for the [CryptoAPI (CAPI2)](/windows/win32/seccrypto/cryptography--cryptoapi--and-capicom), you will also see the following error in the CAPI2 [Event Viewer](/host-integration-server/core/windows-event-viewer1) logs (Event ID 30):
37
+
If your device has event logging enabled for the [CryptoAPI (CAPI2)](/windows/win32/seccrypto/cryptography--cryptoapi--and-capicom), you also see the following error in the CAPI2 [Event Viewer](/host-integration-server/core/windows-event-viewer1) logs (Event ID 30):
38
38
39
39
:::image type="content" source="./media/install-failure-2017-2019-2022/event-viewer-capi2-errors.png" alt-text="Screenshot of the Event Viewer showing multiple CAPI2 errors with Event ID 30":::
40
40
@@ -57,33 +57,33 @@ If your device has event logging enabled for the [CryptoAPI (CAPI2)](/windows/wi
57
57
</Event>
58
58
```
59
59
60
-
The CAPI2 event logs can be accessed from the Event Viewer by going to **Applications and Services Logs** > **Microsoft** > **Windows** > **CAPI2** > **Operational**.
60
+
You can access the CAPI2 event logs from the Event Viewer by going to **Applications and Services Logs** > **Microsoft** > **Windows** > **CAPI2** > **Operational**.
61
61
62
62
#### Enable CAPI2 logs
63
63
64
64
Use the following steps to enable CAPI2 event logging:
65
65
66
-
1. Open Event Viewer by pressing <kbd>Win</kbd> + <kbd>R</kbd>, type _eventvwr_, then press <kbd>Enter</kdb>.
66
+
1. Open Event Viewer by pressing <kbd>Win</kbd> + <kbd>R</kbd>, type _eventvwr_, and then press <kbd>Enter</kdb>.
67
67
1. Go to **Applications and Services Logs** > **Microsoft** > **Windows** > **CAPI2** > **Operational**.
68
68
1. Right-click **Operational** and select **Clear Log** to delete any previous logs.
69
69
1. Right-click **Operational** and select **Enable Log** to start logging.
70
70
71
71
:::image type="content" source="./media/install-failure-2017-2019-2022/event-viewer-enable-capi2-logs.png" alt-text="Screenshot of the Event Viewer with the right-click menu to clear or enable logs for CAPI2":::
72
72
73
-
1. Try installing Visual Studio again using the offline installer.
73
+
1. Try installing Visual Studio again by using the offline installer.
74
74
1. After reproducing the issue, the CAPI2 event logs should contain details about the install failure.
75
75
1. To stop logging, right-click **Operation** and select **Disable Log**.
76
76
77
77
## Solution
78
78
79
-
Use the following steps to resolve this issue:
79
+
Use the following steps to resolve this problem:
80
80
81
-
1. Download the [Microsoft Windows Code Signing PCA 2024](https://www.microsoft.com/pkiops/certs/Microsoft%20Windows%20Code%20Signing%20PCA%202024.crt) certificate using a device that has internet access.
82
-
1. Copy the certificate file to `C:\Temp` on the device experiencing install issues.
81
+
1. Download the [Microsoft Windows Code Signing PCA 2024](https://www.microsoft.com/pkiops/certs/Microsoft%20Windows%20Code%20Signing%20PCA%202024.crt) certificate by using a device that has internet access.
82
+
1. Copy the certificate file to `C:\Temp` on the device that has installation problems.
83
83
1. Install the _Microsoft Windows Code Signing PCA 2024_ certificate into the [Trusted Root Certification Authorities store](/windows-hardware/drivers/install/trusted-root-certification-authorities-certificate-store) by running the following command from an elevated command prompt:
84
84
85
85
```cli
86
86
CertUtil -addStore CA "C:\Temp\Microsoft Windows Code Signing PCA 2024.crt"
87
87
```
88
88
89
-
1. Try installing Visual Studio again using the offline installer.
89
+
1. Try installing Visual Studio again by using the offline installer.
0 commit comments