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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM