Skip to content

Commit 86b1471

Browse files
committed
PR feedback
1 parent 37321c7 commit 86b1471

1 file changed

Lines changed: 17 additions & 6 deletions

File tree

support/developer/visualstudio/installation/install-failure-2017-later-versions.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ ms.reviewer: khgupta, v-shaywood
66
ms.custom: sap:Installation\Setup, maintenance, or uninstall
77
---
88

9-
# Installation fails for Visual Studio 2017 or later
9+
# Visual Studio Installation issues due to missing certificate
1010

1111
_Applies to:_ Visual Studio 2017 and later versions
1212

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.
1414

1515
## Symptoms
1616

@@ -87,9 +87,20 @@ To resolve this problem, follow these steps:
8787

8888
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.
8989
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.
91105
92-
```cli
93-
CertUtil -addStore CA "C:\Temp\Microsoft Windows Code Signing PCA 2024.crt"
94-
```
95106
1. Try again to install Visual Studio by using the offline installer.

0 commit comments

Comments
 (0)