WIN7下Visual Studio2019安装时报错Microsoft.Net.4.7.2.FullRedist

下载.net4.7.2的离线安装包

下载地址:https://support.microsoft.com/zh-cn/help/4054530/microsoft-net-framework-4-7-2-offline-installer-for-windows

在安装.net4.7.2时发生严重故障 后来看了日志 发现红字
Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:\Windows\system32\msvcp110_clr0400.dll.]
Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:\Windows\system32\msvcp110_clr0400.dll.]
Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:\Windows\system32\msvcp110_clr0400.dll.]
Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:\Windows\system32\msvcp110_clr0400.dll.]

解决方法

将C:\Windows\system32 下面的msvcr110_clr0400.dll、msvcp110_clr0400
和 C:\Windows\SysWOW64下面的msvcr110_clr0400.dll、msvcp110_clr0400

四个文件属性-安全 -编辑-里面给system admin users 用户完全控制权限,然后就可以安装了。

然后重启电脑安装VS2019即可。

 

相关文章:

  • 2021-10-23
  • 2022-02-17
  • 2021-06-11
  • 2021-11-04
  • 2021-05-09
  • 2021-04-20
  • 2021-09-26
  • 2021-06-25
猜你喜欢
  • 2021-08-04
  • 2021-11-12
  • 2022-02-25
  • 2022-01-02
  • 2022-12-23
  • 2021-06-24
  • 2021-07-30
相关资源
相似解决方案