Visual Studio2019安装时报错Microsoft.Net.4.7.2.FullRedist的解决方法

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即可。

 

posted @ 2021-08-12 09:44  web_liu  阅读(2368)  评论(0编辑  收藏  举报