使用脱机安装程序( 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
我也尝试使用巧克力安装.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
我可以在Windows Server 2012 R2的完整(gui)版本上成功安装.NET 4.6。
更新 :从Full Win Server 2012 R2实例中删除窗口functionUser-Interfaces-Infra后,会产生与在Core实例上发生的错误相同的错误。
这两个服务器都作为AWS实例运行,并使用Amazon自己的AMI。
.NET 4.6和4.6.1安装程序都尝试使用Server Core上不可用的GUIfunction并崩溃。 这种情况即使在被动模式 幸运的是,完全安静的安装工程:
NDP46-KB3045557-x86-x64-AllOS-ENU.exe /q
要么
NDP461-KB3102436-x86-x64-AllOS-ENU.exe /q
(如果您不希望服务器自动重启,请添加/norestart )
我的解决scheme如下:
7zip 。 dism.exe为Win Server 2012 Core 64-Bit添加相应的软件包。 这是我使用的脚本。 注意脚本将安装适用于Windows Server 2012 64位的软件包,并且尚未在Win RT或32位系统上进行testing:
# Installs the .Net 4.6 onto Windows Server 2012 Core instances. # Running the exe causes an error due to the User-Interfaces-Infra feature not being installed $ErrorAction = "Stop" # Download URL has been pulled from the Chocolatey DotNet4.6 install script $downloadUrl = "http://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe" $fileDestination = "c:\dotnet46.exe" $extractDir = "c:\dotnet46" (New-Object net.webclient).DownloadFile($downloadUrl, $fileDestination) & 7z.exe e -y -o"$extractDir" "$fileDestination" dism.exe /online /norestart /add-package /PackagePath:$extractDir\x64-Windows8.1-KB3045563-x64.cab
它看起来像安装失败,因为原来的安装有问题。 这很奇怪
我会尝试再次重新安装.NET 4.6(或运行修复),然后尝试卸载它。