我正在尝试安装 Visual Studio C# 2010 Express,但在安装 .Net Framework 4 时失败。日志中的错误是:
安装失败,错误代码:(0x00003B01),“资源加载器缓存没有加载的 MUI 条目。”
我尝试使用独立安装程序安装 .Net Framework 4,但也失败并出现相同的错误(至少是一致的)。我尝试运行 Microsoft .Net 清理工具,但这没有帮助。我尝试清理 %temp% 目录,但这也没有帮助。我尝试使用 Google 搜索,但似乎只有我一个人遇到这个问题。
有趣的是,通过 Windows 更新安装 .Net Framework 4 的客户端配置文件是可行的(尽管卸载它并不能解决这个问题)。
有人有主意吗?
答案1
好的,搞清楚了。原来是我丢失了一些关键的系统文件(虽然我不知道是怎么回事)。我运行了以下命令:
证监会/扫描
它告诉我有一些错误无法修复。然后我运行以下命令来扫描日志(sfc 将在执行的操作前加上 [SR] 前缀):
findstr /c:“[SR]” %windir%\Logs\CBS\CBS.log >%userprofile%\Desktop\sfcdetails.txt
最后的路径是您想要保存输出的位置 - 在本例中,我决定将其放在我的桌面上。
出现了与两个文件相关的几条错误消息:wvc.dll.mui 和 wusa.exe.mui。具体来说,有错误消息说无法重新投影文件,因为它们已损坏。它们实际上是丢失了。为了修复它,我不得不从原始 Windows 7 DVD 中提取文件(我按照说明操作这里并将其复制到 C:\Windows\SysWOW64\en-US。
有趣的是,即使修复了我的 .Net Framework 4 问题,运行“sfc /scannow”仍然会出现有关 wvc.dll.mui 和 wusa.exe.mui 的以下消息:
2011-04-24 15:52:34, Info CSI 000002e9 [SR] Cannot repair member file [l:22{11}]"wvc.dll.mui" of Microsoft-Windows-PerformanceToolsGui.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 (10), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
2011-04-24 15:52:34, Info CSI 000002ea [SR] Cannot repair member file [l:24{12}]"wusa.exe.mui" of Microsoft-Windows-WUSA.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
2011-04-24 15:52:34, Info CSI 000002eb [SR] Cannot repair member file [l:24{12}]"wusa.exe.mui" of Microsoft-Windows-WUSA.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
2011-04-24 15:52:34, Info CSI 000002ec [SR] This component was referenced by [l:266{133}]"Microsoft-Windows-WindowsFoundation-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514.Windows Foundation Language Pack"
2011-04-24 15:52:34, Info CSI 000002ed [SR] Cannot repair member file [l:22{11}]"wvc.dll.mui" of Microsoft-Windows-PerformanceToolsGui.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 (10), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
2011-04-24 15:52:34, Info CSI 000002ee [SR] This component was referenced by [l:266{133}]"Microsoft-Windows-WindowsFoundation-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514.Windows Foundation Language Pack"
尽管关于重新投影的内容已经消失。不知道该怎么做。