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
ms.custom: sap:Installation\Setup, maintenance, or uninstall
7
7
---
8
8
9
-
# Installation fails for Visual Studio 2017 or later
9
+
# Visual Studio Installation issues due to missing certificate
10
10
11
11
_Applies to:_ Visual Studio 2017 and later versions
12
12
13
-
When you try to install Microsoft Visual Studio 2017 or a later version, the installation wizard unexpectedly closes or indicates that it can't download some installation files. This article resolves these problems and enables you to successfully install Visual Studio.
13
+
When you try to install Microsoft Visual Studio 2017 or a later version, the installation wizard unexpectedly closes or indicates that it can't download some installation files. This problem can be caused by a missing certificate required for the Visual Studio install. This article provides guidance for resolving this missing certificate, and enables you to successfully install Visual Studio.
14
14
15
15
## Symptoms
16
16
@@ -87,9 +87,20 @@ To resolve this problem, follow these steps:
87
87
88
88
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.
89
89
1. Copy the certificate file to `C:\Temp` on the device that experiences the installation problem.
90
-
1. Install the _Microsoft Windows Code Signing PCA 2024_ certificate in the [Trusted Root Certification Authorities store](/windows-hardware/drivers/install/trusted-root-certification-authorities-certificate-store) by runninng the following command in an elevated Command Prompt window:
90
+
1. Install the _Microsoft Windows Code Signing PCA 2024_ certificate in the [Trusted Root Certification Authorities store](/windows-hardware/drivers/install/trusted-root-certification-authorities-certificate-store). You can install the certificate by using either the _Certificate Import Wizard_ or command line:
91
+
92
+
- To install using the command line, run the following command in an elevated Command Prompt window:
93
+
94
+
```cli
95
+
CertUtil -addStore CA "C:\Temp\Microsoft Windows Code Signing PCA 2024.crt"
96
+
```
97
+
98
+
- To install using the _Certificate Import Wizard_:
99
+
100
+
1. Right-click the certificate file and select **Install Certificate**.
101
+
1. In the _Certificate Import Wizard_, choose **Local Machine** and select **Next**.
102
+
1. Select **Place all certificates in the following store**.
103
+
1. Select **Browse...** and choose **Trusted Root Certification Authorities**.
104
+
1. Select **Next**, then select **Finish** to install the certificate.
91
105
92
-
```cli
93
-
CertUtil -addStore CA "C:\Temp\Microsoft Windows Code Signing PCA 2024.crt"
94
-
```
95
106
1. Try again to install Visual Studio by using the offline installer.
0 commit comments