无论如何要重新安装MSXML6 DLL? [英] Anyway to re-install MSXML6 DLL ?

查看:243
本文介绍了无论如何要重新安装MSXML6 DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

卸载驱动程序通过删除/取消注册MSXML6.dll搞砸了我的机器



现在,我在编译我的东西时得到这个



win64编译时会出现错误。

file.cpp:fatal错误C1083:无法打开类型库文件:'msxml6.dll':没有这样的文件或目录



代码是:

uninstalling a driver messed up my machine by removing/unregistering MSXML6.dll

and now, I get this when compiling my stuff

The error happens for a win64 compilation.
file.cpp: fatal error C1083: Cannot open type library file: 'msxml6.dll': No such file or directory

the code is:

#import <msxml6.dll> named_guids no_implementation







文件在我的机器上:




The files are on my machine :

C:\Windows\System32\msxml6.dll
C:\Windows\System32\msxml6r.dll
C:\Windows\SysWOW64\msxml6.dll
C:\Windows\SysWOW64\msxml6r.dll
C:\Windows\winsxs\amd64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.17514_none_e69401b1ad75f960\msxml6.dll
C:\Windows\winsxs\amd64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.17514_none_e69401b1ad75f960\msxml6r.dll
C:\Windows\winsxs\amd64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.18431_none_e67b484dad8901b7\msxml6.dll
C:\Windows\winsxs\amd64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.18431_none_e67b484dad8901b7\msxml6r.dll
C:\Windows\winsxs\amd64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.22640_none_e6f916c8c6afa142\msxml6.dll
C:\Windows\winsxs\amd64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.22640_none_e6f916c8c6afa142\msxml6r.dll
C:\Windows\winsxs\wow64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.17514_none_f0e8ac03e1d6bb5b\msxml6.dll
C:\Windows\winsxs\wow64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.17514_none_f0e8ac03e1d6bb5b\msxml6r.dll
C:\Windows\winsxs\wow64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.18431_none_f0cff29fe1e9c3b2\msxml6.dll
C:\Windows\winsxs\wow64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.18431_none_f0cff29fe1e9c3b2\msxml6r.dll
C:\Windows\winsxs\wow64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.22640_none_f14dc11afb10633d\msxml6.dll
C:\Windows\winsxs\wow64_microsoft-windows-msxml60_31bf3856ad364e35_6.1.7601.22640_none_f14dc11afb10633d\msxml6r.dll



我正在尝试下载并安装MSXML6组件,但是一些原因它似乎不起作用。





http://www.microsoft.com/en-ca/download/details.aspx?id=3988 [ ^ ]



我下载了2个安装包:

msxml6_64.msi

msxml6_SDK.msi



当我安装每一个他们告诉我它安装成功;但安装程序控制面板中没有任何内容;尝试修复或卸载(通过右键单击MSI文件),它说它只能在已安装的产品上完成!!!



我试过看建议关于互联网,但他们都什么都不做。



有什么建议吗?



谢谢。



Max。


I'm trying to download and install the MSXML6 component, but for some reasons it does not seem to work.


http://www.microsoft.com/en-ca/download/details.aspx?id=3988[^]

I downloaded 2 installation package:
msxml6_64.msi
msxml6_SDK.msi

When I install each one of them it tells me it install successfully; but there is nothing in the "installed programs" control panel; trying to repair or uninstall (by right-clicking on the MSI file) it says that it can only be done on installed products!!!

I tried looking at suggestions on the "internets" but they all do nothing.

Any suggestions?

Thanks.

Max.

推荐答案

MSXML6包含在所有最新版本的Windows中,因此MSI软件包不太可能工作。下载链接表明MSI文件仅适用于:

  • Windows 2000 Service Pack 4
  • Windows Server 2003
  • Windows Server 2003 Service Pack 1
  • Windows XP Service Pack 1
  • Windows XP Service Pack 2
MSXML6 is included with all recent versions of Windows, so the MSI packages are unlikely to work. The download link says that the MSI files only work on:
  • Windows 2000 Service Pack 4
  • Windows Server 2003
  • Windows Server 2003 Service Pack 1
  • Windows XP Service Pack 1
  • Windows XP Service Pack 2
  1. 打开管理员命令提示符;
  2. cd C:\ Windows \ System32 \
  3. regsvr32 -u msxml6.dll
  4. regsvr32 msxml6.dll
  5. cd C :\ Windows \ SysWOW64 \
  6. regsvr32 -u msxml6.dll
  7. regsvr32 msxml6.dll
  1. Open an admin command prompt;
  2. cd C:\Windows\System32\
  3. regsvr32 -u msxml6.dll
  4. regsvr32 msxml6.dll
  5. cd C:\Windows\SysWOW64\
  6. regsvr32 -u msxml6.dll
  7. regsvr32 msxml6.dll



(您需要从两个目录运行以重新注册32位和64位版本。)



如果不起作用,请尝试运行系统文件检查器: sfc / scannow

使用系统文件检查工具修复丢失或损坏的系统文件 [ ^ ]


正如Maximillien所讨论的......我建议检查哪个System32或SysWOW64 dll首先出现在PATH,LIB或/ I指令中?这是您正在构建的平台的正确版本(分别为64位和32位)?



OP确认所有默认路径(%SystemRoot%\\ \\ System32;%SystemRoot%;%SystemRoot%\ System32 \ Wbem)不在PATH环境变量中。
As discussed with Maximillien ... I suggested checking which of the System32 or SysWOW64 dlls appears first in the PATH, LIB or /I directive? Is that the right version for the platform you are building for (64-bit and 32-bit respectively)?

OP confirmed all the default paths (%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem) were not in the PATH environment variables.


这篇关于无论如何要重新安装MSXML6 DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆