无法在 Windows Server 2012 R2 Core 上安装 .NET Framework 4.6

Cas*_*nge 7 installation .net windows-server-core windows-server-2012-r2

使用脱机安装程序 ( https://www.microsoft.com/en-us/download/details.aspx?id=48137 ) 在 Windows Server 2012 R2 Core 机器上安装 .NET 4.6 时,将返回以下错误:

Problem signature:
Problem Event Name: VSSetup
Problem Signature 01:   Microsoft .NET Framework 4.6 Setup
Problem Signature 02:   4.6.00081
Problem Signature 03:   14.0.81.0
Problem Signature 04:   1
Problem Signature 05:   unknown
Problem Signature 06:   None_UI_Interactive_Crash
Problem Signature 07:   0xc000008c
Problem Signature 08:   0
Problem Signature 09:   unknown
OS Version: 6.3.9600.2.0.0.272.7
Locale ID:  1033
Run Code Online (Sandbox Code Playgroud)

我也试过使用巧克力安装 .NET 4.6。生成的日志输出如下错误:

[11/3/2015, 10:26:0]Launching Download and Install operations simultaneously.
[11/3/2015, 10:26:0] Action: Downloading and/or Verifying Items
[11/3/2015, 10:26:0]All buttons hidden in passive mode
[11/3/2015, 10:26:0]Verifying Digital Signatures: C:\9cc6764dbba6d31323a799ae35\SetupUtility.exe
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 1
[11/3/2015, 10:26:0] C:\9cc6764dbba6d31323a799ae35\SetupUtility.exe: Verifying signature for SetupUtility.exe
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 2
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 3
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 4
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 5
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 6
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 7
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 8
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 9
[11/3/2015, 10:26:0]LoadImage failed for rotation icon 10
Run Code Online (Sandbox Code Playgroud)

我可以在 Windows Server 2012 R2 的完整 (gui) 版本上成功安装 .NET 4.6。

更新:从 Full Win Server 2012 R2 实例中删除 Windows 功能User-Interfaces-Infra后,会产生与 Core 实例相同的错误。

这两个服务器都作为 AWS 实例运行并使用亚马逊自己的 AMI。

小智 10

.NET 4.6 和 4.6.1 安装程序都尝试使用 Server Core 上不可用的 GUI 功能并崩溃。即使在被动模式下也会发生这种情况。幸运的是,完全安静的安装有效:

NDP46-KB3045557-x86-x64-AllOS-ENU.exe /q
Run Code Online (Sandbox Code Playgroud)

或者

NDP461-KB3102436-x86-x64-AllOS-ENU.exe /q
Run Code Online (Sandbox Code Playgroud)

/norestart如果不希望服务器自动重启,请添加)