关闭

无法安装framework DDSet_Error: Failure creating interface IAssemblyCache

121人阅读 评论(0) 收藏 举报

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

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

首先安装 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
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:38834次
    • 积分:875
    • 等级:
    • 排名:千里之外
    • 原创:47篇
    • 转载:25篇
    • 译文:0篇
    • 评论:0条