我制作了一个aws EC2实例Windows 2012 R2。
它预装了.Net 4.5。
但我正在运行需要4.6.1的代码。
我尝试了在线和离线安装程序。我是管理员。我在安装程序(S)上选择“以管理员身份运行”。它会提取包裹。安装进度栏达到完成。无论哪种方式,我都会得到相同的错误消息:

错误信息没有帮助,我也不知道如何继续。
日志文件显示以下内容:
© 2009 Microsoft Corporation. All rights reserved. Terms of Use.
OS Version = 6.3.9600, SP = 0.0, Platform 2
OS Description = Win2k12R2 - x64 Standard Edition
MSI = 5.0.9600.19082
Windows servicing = 6.3.9600.18384
CommandLine = D:\0ce7916d947e0ebb7a5825cc0c\\Setup.exe /x86 /x64 /redist
TimeZone = Pacific Standard Time
Initial LCID = 1033
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4.6.1 Setup
Package Version = 4.6.01055
User Experience Data Collection Policy: Disabled
Number of applicable items: 6
Exe (D:\0ce7916d947e0ebb7a5825cc0c\SetupUtility.exe) succeeded.
Exe (D:\0ce7916d947e0ebb7a5825cc0c\SetupUtility.exe) succeeded.
Exe (D:\0ce7916d947e0ebb7a5825cc0c\x64-Windows8.1-KB3102467-x64.cab) failed with 0x57 - The parameter is incorrect. .
Final Result: Installation failed with error code: (0x00000057), "The parameter is incorrect. " (Elapsed time: 0 00:00:49).发布于 2019-12-10 18:09:03
如果禁用服务,可能会导致这种情况。
https://serverfault.com/questions/995067
复制相似问题