• .Net Framework 4.5以上版本无法安装问题


    因为要用到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 都需要修改权限。

    修改完成再次安装即可成功!

  • 相关阅读:
    Task示例,多线程
    request
    do put in ruby
    Ruby零星笔记
    Git的常用操作
    如何在Rails中执行Get/Post/Put请求
    Lua中的基本函数库
    Step By Step(Lua目录)
    position:fixed失效原因
    前端性能监控-window.performance.timing篇
  • 原文地址:https://www.cnblogs.com/little-monica/p/15060233.html
Copyright © 2020-2023  润新知