Skip to content

Commit 0a5b0c8

Browse files
authored
Add notes about win7 certificates (dotnet#22511)
* Add notes about win7 certificates * change header * Remove small note from framework
1 parent df702c1 commit 0a5b0c8

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

docs/core/install/windows.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Windows 10 versions end-of-service dates are segmented by edition. Only **Home**
5151

5252
## Unsupported releases
5353

54-
The following versions of .NET are ❌ no longer supported. The downloads for these still remain published:
54+
The following versions of .NET are ❌ no longer supported. The downloads for these versions still remain published:
5555

5656
- 3.0
5757
- 2.2
@@ -169,6 +169,18 @@ The following Windows versions are supported with .NET Core 2.1:
169169

170170
For more information about .NET Core 2.1 supported operating systems, distributions, and lifecycle policy, see [.NET Core 2.1 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md).
171171

172+
### Offline install for Windows 7
173+
174+
When doing an offline install for .NET Core 2.1 on Windows 7, you'll first need to make sure that the latest [Microsoft Root Certificate Authority 2011](https://www.microsoft.com/pkiops/Docs/Repository.htm) has been installed on the target machine.
175+
176+
The _certmgr.exe_ tool can automate installing a certificate and is obtained from Visual Studio or the Windows SDK. The following command is used to install the certificate before running the .NET Core 2.1 installer:
177+
178+
```console
179+
certmgr.exe /add MicRooCerAut2011_2011_03_22.crt /s /r localMachine root
180+
```
181+
182+
Be sure to review the dependencies required for [Windows 7 below](#additional-deps).
183+
172184
---
173185

174186
<!-- markdownlint-disable MD001 -->
@@ -179,7 +191,7 @@ More dependencies are required if you're installing the .NET SDK or runtime on t
179191

180192
| Operating System | Prerequisites |
181193
|--------------------------|----------------------------------------------------------------------------------|
182-
| Windows 7 SP1 [ESU][esu] | - Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] <br> - KB3063858 [64-bit][kb64] / [32-bit][kb32] <br> - [MicrosoftRootCertificateAuthority2011.cer](https://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409) (.NET Core 2.1 only) |
194+
| Windows 7 SP1 [ESU][esu] | - Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] <br> - KB3063858 [64-bit][kb64] / [32-bit][kb32] <br> - [Microsoft Root Certificate Authority 2011](https://www.microsoft.com/pkiops/Docs/Repository.htm) (.NET Core 2.1 offline installer only) |
183195
| Windows Vista SP 2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] |
184196
| Windows 8.1 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] |
185197
| Windows Server 2008 R2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] |
@@ -283,7 +295,7 @@ For more information, see [Standard Installer Command-Line Options](/windows/win
283295
284296
## Download and manually install
285297

286-
As an alternative to the Windows installers for .NET, you can download and manually install the SDK or runtime. Manual install is usually performed as part of continuous integration testing. For a developer or user, it's generally better to use an [installer](https://dotnet.microsoft.com/download/dotnet-core).
298+
As an alternative to the Windows installers for .NET, you can download and manually install the SDK or runtime. Manual install is usually done as part of continuous integration testing. For a developer or user, it's generally better to use an [installer](https://dotnet.microsoft.com/download/dotnet-core).
287299

288300
Both .NET SDK and .NET Runtime can be manually installed after they've been downloaded. If you install .NET SDK, you don't need to install the corresponding runtime. First, download a binary release for either the SDK or the runtime from one of the following sites:
289301

@@ -326,5 +338,5 @@ For more information about using .NET in a Docker container, see [Introduction t
326338
[esu]: /troubleshoot/windows-client/windows-7-eos-faq/windows-7-extended-security-updates-faq
327339
[vcc64]: https://aka.ms/vs/16/release/vc_redist.x64.exe
328340
[vcc32]: https://aka.ms/vs/16/release/vc_redist.x86.exe
329-
[kb64]: https://www.microsoft.com/en-us/download/details.aspx?id=47442
330-
[kb32]: https://www.microsoft.com/en-us/download/details.aspx?id=47409
341+
[kb64]: https://www.microsoft.com/download/details.aspx?id=47442
342+
[kb32]: https://www.microsoft.com/download/details.aspx?id=47409

docs/framework/install/on-windows-7.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ These instructions will help you install the .NET Framework versions you need. T
1919
2020
The [.NET Framework 4.8](https://github.com/Microsoft/dotnet/tree/master/releases/net48) can be used to run applications built for .NET Framework 4.0 or later.
2121

22+
### Offline installer
23+
24+
When doing an offline install for .NET Framework on Windows 7, you'll first need to make sure that the latest [Microsoft Root Certificate Authority 2011](https://www.microsoft.com/pkiops/Docs/Repository.htm) has been installed on the target machine.
25+
26+
The _certmgr.exe_ tool can automate installing a certificate and is obtained from Visual Studio or the Windows SDK. The following command is used to install the certificate before running the .NET Framework installer:
27+
28+
```console
29+
certmgr.exe /add MicRooCerAut2011_2011_03_22.crt /s /r localMachine root
30+
```
31+
2232
## .NET Framework 3.5
2333

2434
The [.NET Framework 3.5](https://dotnet.microsoft.com/download/dotnet-framework/net35-sp1) is included with Windows 7.

0 commit comments

Comments
 (0)