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