无法安装framework DDSet_Error: Failure creating interface IAssemblyCache

今天搞了一天,在崩溃边缘,终于搞掂,记录一下

由于安装的错误日志不够详细,所以很难找到问题根源

首先安装 MicrosoftEasyFix(安装和卸载都可以在这里下载:https://support.microsoft.com/en-us/kb/223300

安装后再重新运行一次FRAMEWORK的安装程序,在%temp%里找到一个类似 Microsoft.……msi.txt的文件

中文操作系统在里面找“返回值 3“字符串,再往上一点看看是什么错误

我这里的错误是:

03/24/16 20:41:14 DDSet_Error: Failure creating interface IAssemblyCache
03/24/16 20:41:14 DDSet_Error: CreateAssemblyCache() returned -2147024703
03/24/16 20:41:14 DDSet_Error: Error occurred while initializing fusion.
错误 25003。Error occurred while initializing fusion.

MSI (s) (28!BC) [20:41:15:558]: 产品: Microsoft .NET Framework 4 Client Profile -- 错误 25003。Error occurred while initializing fusion.

再百度一下,达人给出的答案是:(最后就是找到C:\WINDOWS\system32\msvcr100_clr0400.dll文件,并把它重命名一下,64位的话要把另一个也找出来处理一下吧,再重新运行FRAMEWORK安装程序,搞掂)

The above error indicates that the Custom Action (CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8) failed to install an assembly in the Global Assembly Cache. After debugging the issue, I found that dummy CRT file msvcr100_clr0400.dll was present on the system. The Microsoft .NET Framework 4.5 carries dummy versions of these CRT files (the files contain no executable code) for various compat reasons.

As per the installer log, the dummy CRT files were already present before the installation took place:

MSI (s) (18:60) [15:38:31:703]: File: C:\WINDOWS\system32\msvcr100_clr0400.dll;           Won’t Overwrite;                Won’t patch;      Existing file is of an equal version    
MSI (s) (18:60) [15:38:31:703]: File: C:\WINDOWS\SysWOW64\msvcr100_clr0400.dll;       Won’t Overwrite;                Won’t patch;      Existing file is of an equal version

I was able to resolve the issue by renaming the file msvcr100_clr0400.dll at the below two locations:

C:\Windows\System32\msvcr100_clr0400.dll      
C:\Windows\SysWOW64\msvcr100_clr0400.dll



为了避免以后安装程序产生太多日志,可以把上面那个EasyFix卸载一下就可以
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值