因为要用到postman,必须安装.net framwork4.0以上版本,找了很多版本都无法安装成功。(4.0 Client可以安装成功,但是不匹配postman)
网上找了很多方法都无法解决,其实直接在安装报错的时候查找报错日志看一下就行了(怪自己不够严谨)。
打开报错日志文件,拉到最下面,看到红色信息:
Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:42:59] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:0] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:1] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:2] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:3] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:5] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:6] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:7] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:8] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:9] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:10] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:11] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:12] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:13] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:14] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:15] Returning IDRETRY. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
[7/26/2021, 9:43:15] Returning IDOK. INSTALLMESSAGE_ERROR [Error 1321.The Installer has insufficient privileges to modify this file: C:Windowssystem32msvcp110_clr0400.dll.]
显示安装依赖的msvcp110_clr0400.dll系统没有权限操作,将C:Windowssystem32 下面的msvcp110_clr0400.dll选中右击点属性->安全修改权限完全控制就行了。
另外还有C:Windowssystem32 下面的msvcr110_clr0400.dll和 C:WindowsSysWOW64下面的msvcr110_clr0400.dll msvcp110_clr0400.dll 都需要修改权限。
修改完成再次安装即可成功!