今天安装VisualSVN 不小心删掉了安装目录,再次安装 修改 移除提示UninstallWMISchemaExecute (0x8004401e) when updating VisualSV
2013-02-03 23:34
351 查看
参考资料:
UninstallWMISchemaExecute (0x8004401e) when updating VisualSVN on Windows XP
7. May 2012 by Rolf Engelhard |7 Comments
The problem
On the attempt to update VisualSVN on my Windows XP I struggled with the following exception quite a long time:Custom action UninstallWMISchemaExecute failed: Diese Datei ist keine gültige MOF-Datei. (0x8004401e)
UninstallWMISchemaExecute when updating VisualSVN
I was never faced with WMI before so I started from scratch and choosed to try’n'error. A great help was the artikel found in [1] and after a while I succeeded—but: I still have no clue why my solution worked, nor could I assure that it is side-effect-free.
So use on your own risk!
The solution
Disable the WMI servicesc config winmgmt start= disabled (make sure there is a blank between 'start' and 'disabled')
Stop the WMI service
net stop winmgmt
Go to %windir%/System32/wbem and rename the repository-folder
cd C:\WINDOWS\System32\wbem rename Repository Repository-old
Find the *.mof-file in %windir%/System32/wbem which belongs to VisualSVN
In my case the file was named “6E9A2709F6EB23A5E2F059ACD767AD78.mof”. Inside there were multiple occurences of the string “VisualSVN”—which I found by using Notepad++’s search-in-files-funktionality [2]. Note that the Windows search won’t lead to any useable
results since Windows doesn’t do a text-search on *.mof-files by default.
Remove the file found in step 4
Search the registry on occurences of “VisualSVN” and remove every found item
I guess especially the key “Autorecover MOFs” in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
was an entry which recreated the faulty *.mof all over again.
Enabled the WMI service
sc config winmgmt start= auto
Start the VisualSVN-Installation
Reference
[1] http://blog.technical-life.at/2011/09/nice-to-know-wmi-steuerung-reparieren [2] http://npp-community.tuxfamily.org/documentation/notepad-user-manual/searching/searching-files用上面的方法没有解决本次遇到的问题,问题依然提示
后来采用下面的帖子回复的方法解决掉的
There is easier solution, actually. The error is caused by the fact the file “%VISUALSVN_SERVER%\WMI\VisualSVNServer.mof.uninstall” is missing. Do you have any assumptions why it got removed then?
You can manually create the “%VISUALSVN_SERVER%\WMI\VisualSVNServer.mof.uninstall” file. Leave the file empty and the upgrade / uninstall of VisualSVN Server will succeed.
解决办法,在另一台机器上安装了visualSVN,查看了下安装目录下WMI目录下的文件,然后将对应的WMI的目录及内容拷贝到出问题的安装目录的对应位置,然后点击修复 删除均可以。采取了删除操作,然后重新安装了。正常!
Categories:
Uncategorized |
Permalink
相关文章推荐
- UninstallWMISchemaExecute (0x8004401e) when updating VisualSVN(不是有效的MOF文件)
- ubuntu12.04安装tftp,配置,修改目录,错误类型
- (转)Apache安装常见配置(修改主目录、首页文件、建立虚拟主机等)
- mysql忘记root密码且忘了安装目录如何修改root密码
- java基础(安装/调试/记事本编写/web-inf目录/配置JRE,tomcat/查看虚拟路径/修改tomcat默认端口号)
- 解决安装photoshop提示”please uninstall and reinstall the product“
- 荣耀 6 安装 SD 卡,提示:SD卡已安全移除
- 彻底修改Google Chrome浏览器的安装目录
- 打开会影X3提示 错误:38-Corel VideoStudio文件已损坏或被修改,请重新安装原始来源
- 今天早上,更新了npm,在启动项目,各种报错,无奈,百度了下,只需要将项目下:node-models删掉,重新cnpm install就可以了,要是还有报错,就按照提示信息,一步步安装所需就可以了
- 修改node.js默认的npm安装目录
- RAC crs 卸载后,再次安装Oracle, crs 目录还存在的问题
- ubuntu12.04安装tftp,配置,修改目录,错误类型
- 安装时提示找不到Office.zh-cn目录下的X文件
- 在mahout安装目录下输入mahout 提示 ERROR: Could not find mahout-examples-*.job
- npm全局模块卸载及默认安装目录修改
- zencart初始安装后台目录admin必须修改才能登录问题
- pip方式下安装CAFFE的python接口,报错提示没有那个文件或目录
- 修改文件输出目录后,提示配置错误(VS2010)
- 【记录开发中遇到问题】修改xcode安装目录后终端找不到路径方法