无法卸载 MySQL Connector/Net 6.3 或更高版本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21260542/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Cannot uninstall MySQL Connector/Net 6.3 or higher
提问by Developer
I cannot install MySQL Connector/Net due MS Web Platform because of that error.
由于该错误,我无法安装 MySQL Connector/Net 由于 MS Web 平台。
MSI (s) (E4:D8) [12:15:40:237]: Doing action: LaunchConditions Action ended 12:15:40: SetHLMPath. Return value 1. Action start 12:15:40: LaunchConditions. MSI (s) (E4:D8) [12:15:40:238]: Product: MySQL Connector Net 6.5.4 -- A previous version of Connector/Net 6.3 or higher is already installed. Please uninstall that version first.
Action ended 12:15:40: LaunchConditions. Return value 3. Action ended 12:15:40: INSTALL. Return value 3. MSI (s) (E4:D8) [12:15:40:239]: Note: 1: 1708 MSI (s) (E4:D8) [12:15:40:239]: Product: MySQL Connector Net 6.5.4 -- Installation failed.
MSI (s) (E4:D8) [12:15:40:239]: Windows Installer installed the product. Product Name: MySQL Connector Net 6.5.4. Product Version: 6.5.4. Product Language: 1033. Manufacturer: Oracle. Installation success or error status: 1603.
MSI (s) (E4:D8) [12:15:40:237]:执行操作:LaunchConditions 操作结束 12:15:40:SetHLMPath。返回值 1。动作开始 12:15:40:LaunchConditions。MSI (s) (E4:D8) [12:15:40:238]:产品:MySQL Connector Net 6.5.4 -- 已安装先前版本的 Connector/Net 6.3 或更高版本。请先卸载该版本。
行动在 12:15:40 结束:LaunchConditions。返回值 3。操作结束 12:15:40:安装。返回值 3. MSI (s) (E4:D8) [12:15:40:239]:注:1:1708 MSI (s) (E4:D8) [12:15:40:239]:产品:MySQL Connector Net 6.5.4 -- 安装失败。
MSI (s) (E4:D8) [12:15:40:239]:Windows Installer 安装了产品。产品名称:MySQL 连接器网络 6.5.4。产品版本:6.5.4。产品语言:1033。制造商:Oracle。安装成功或错误状态:1603。
I don't have connector installed under Program Files/MySQLfolder as well as I cannot find any key in windows registrywith Connector/Net
我没有下安装连接器Program Files/MySQL的文件夹以及我找不到任何按键windows registry与Connector/Net
Any clue how I can fix it?
任何线索我怎么能解决它?
回答by Roy G Davis
I've had to battle this for quite a few hours! I also managed to fix this myself as most of the information available was of no use - quite an achievement for me.
我不得不为此战斗了好几个小时!我也设法自己解决了这个问题,因为大部分可用信息都没有用 - 对我来说是一个相当大的成就。
I previously had a version of the MySQL .Net Connector installed. At some point I uninstalled it in order to get past problems with WebMatrix. It seems that the uninstall process is a bit faulty (see here for one example: http://bugs.mysql.com/bug.php?id=64443)
我以前安装了 MySQL .Net 连接器的一个版本。在某些时候,我卸载了它以解决 WebMatrix 过去的问题。好像卸载过程有点问题(看这里的一个例子:http: //bugs.mysql.com/bug.php?id=64443)
The fix
修复
- Run the "Start the Program Install and Uninstall troubleshooter" tool on this page: http://support2.microsoft.com/kb/2438651
- Tell the wizard that you're having problems uninstalling a product.
- After a short while, select the "MySQL Net Connector " item in the list and have the wizard "repair" the uninstall
- 运行此页面上的“启动程序安装和卸载疑难解答”工具:http: //support2.microsoft.com/kb/2438651
- 告诉向导您在卸载产品时遇到问题。
- 片刻后,选择列表中的“MySQL Net Connector”项,让向导“修复”卸载
Non WebMatrix install4. If you're not installing via WebMatrix then run the installer for the connector. Select "Custom" install and make sure that only the CORE components are installed. The install will now complete successfully. It seems some of the other components are what causes the install problems. I suspect it's some sort of GAC issue, but I can't be sure.
非 WebMatrix 安装4. 如果您不是通过 WebMatrix 安装,则运行连接器的安装程序。选择“自定义”安装并确保仅安装 CORE 组件。现在安装将成功完成。似乎其他一些组件是导致安装问题的原因。我怀疑这是某种 GAC 问题,但我不能确定。
WebMatrix install5. If you're using WebMatrix then identify which version of the MySQL connector it's trying to install (6.5.4 at the time of writing). Get the version (and the msi package) by attempting to install whatever gallery application you are trying to install that fails (ie, WordPress). Open up the install log. In there should be the location of the connector msi. Copy & paste it. 6. Now open an elevated command prompt. Type in
WebMatrix 安装5. 如果您正在使用 WebMatrix,那么请确定它尝试安装哪个版本的 MySQL 连接器(撰写本文时为 6.5.4)。通过尝试安装您尝试安装但失败的任何图库应用程序(即 WordPress)来获取版本(和 msi 包)。打开安装日志。在那里应该有连接器 msi 的位置。复制并粘贴它。6. 现在打开提升的命令提示符。输入
msiexec /i "<pasted location of the connector msi file>"
Don't forget the speech marks! Run the installer as per step 4.
不要忘记语音标记!按照步骤 4 运行安装程序。
Obviously, this won't be much use if you need the other components installed as well, but it's a start.
显然,如果您还需要安装其他组件,这将没有多大用处,但这是一个开始。
回答by Developer
I just found 100% working solution and could install MySQL Connector/Net via Web Platform.
我刚刚找到了 100% 可行的解决方案,并且可以通过 Web 平台安装 MySQL Connector/Net。
What you have to do is just open Windows registry and look up for keys, values, data using
MySQL Connector Netkeyword.
您所要做的就是打开 Windows 注册表并使用MySQL Connector Net关键字查找键、值和数据
。
Delete all things you will find. That is it!
删除所有你会发现的东西。这就对了!
回答by desw
Before you go into anything clever, go through the following steps;
在你进入任何聪明的事情之前,请先完成以下步骤;
Do you have more than one user accounts?
if yes => go to all the user accounts and uninstall the MySQL Connectors starting with the lowest version.
Do you have any programs openthat might be using any MySQL Connectors?
if yes => close them before you uninstall or install the MySQL Connector
Have you failed on steps 1 and 2?
if yes => start being clever, use RegEdit or any other options available. check this linkfor regedit option
您是否拥有多个用户帐户?
如果是 => 转到所有用户帐户并从最低版本开始卸载 MySQL 连接器。
您是否打开了任何可能使用任何 MySQL 连接器的程序?
如果是 => 在卸载或安装 MySQL 连接器之前关闭它们
您在第 1 步和第 2 步中失败了吗?
如果是 => 开始变得聪明,使用 RegEdit 或任何其他可用选项。检查此链接以获取 regedit 选项
回答by Ram Natraj
I have tried all the suggestion including the Registry look-up for keys, values, etc...and delete.
But nothing has fixed, same Warning Error!
我已经尝试了所有建议,包括注册表查找键、值等......并删除。
但没有什么是固定的,同样的警告错误!
I solved this finally,
我终于解决了这个问题
- Go to --> RegEdit
- Find and delete this registry key (
5FD88490-011C-4DF1-B886-F298D955171B)
- 转到--> RegEdit
- 查找并删除此注册表项 (
5FD88490-011C-4DF1-B886-F298D955171B)
Works Perfectly!
完美运行!
回答by Ivan Lowe
I had a problem uninstalling .NET connector 8.0.15 in Win10
我在 Win10 中卸载 .NET 连接器 8.0.15 时遇到问题
The issue was with a commented out entry in my machine.config file [%systemroot%\Microsoft.NET\Framework64\v4.0.30319\CONFIG]
问题出在我的 machine.config 文件 [%systemroot%\Microsoft.NET\Framework64\v4.0.30319\CONFIG] 中注释掉的条目
This was something I had done myself...
这是我自己做的...
Removing the commented out entry enabled me to uninstall/upgrade
删除注释掉的条目使我能够卸载/升级
回答by Tankiso Thebe
After 2 day long struggle and search to no avail I managed to uninstall mysql-for-visualstudio-1.2.3 and install MySQL-for-visual-studio-1.2.9
经过2天的挣扎和搜索无济于事,我设法卸载了mysql-for-visualstudio-1.2.3并安装了MySQL-for-visual-studio-1.2.9
I used Geek Uninstaller And Selected Force Removal which I have in my portable apps flash-drive.
我在便携式应用程序闪存驱动器中使用了 Geek Uninstaller 和 Selected Force Removal。
- DownloadGeek Uninstallerfrom the link below
- Extractthe "Geek"zip file
- runthe geek.exefile
- Lookfor the mysql-connectoror which ever program that rollsback or fails to uninstall.
- Right Click on in and Pick Force Removal
- Confirm Removal
- It will scan for left over files and folders, then show what it has found
Click Finish.
Geek Uninstaller can be downloaded here for free : Geek Uninstaller Download Page
- 从下面的链接下载Geek Uninstaller
- 提取的“奇客”的压缩文件
- 运行该geek.exe文件
- 看对MySQL的连接器或曾经是编程或rollsback无法卸载。
- 右键单击并选择强制移除
- 确认移除
- 它将扫描剩余的文件和文件夹,然后显示找到的内容
单击完成。
Geek Uninstaller 可以在这里免费下载:Geek Uninstaller 下载页面
You can also try it out yourself and see if it works I have used it for a while and I trust i can solve your problem as it also scans and removes registry entries of the program you would like to uninstall.
您也可以自己尝试一下,看看它是否有效。我已经使用它一段时间了,我相信我可以解决您的问题,因为它还会扫描并删除您要卸载的程序的注册表项。
回答by YRabl
This worked for me (finally)
这对我有用(最后)
Steps:
脚步:
For Windows 10 I've found for MySQL Connector Net 7.0.5 the registry key & deleted: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{5728E6B1-9316-468B-A381-8EA2867E747A}
对于 Windows 10,我发现 MySQL Connector Net 7.0.5 的注册表项已删除:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{5728E6B1-9316-468B-A381-8EA2867E747A}
If you have a problem locating the registry key try running msiexec with print to log, for example:
msiexec /x "<location>\mysql-connector-net-x.x.x.msi" /L*V "<log file name>"
如果您在查找注册表项时遇到问题,请尝试运行 msiexec with print to log,例如:
msiexec /x "<location>\mysql-connector-net-x.x.x.msi" /L*V "<log file name>"
I've made sure that the folder connector folder in Program Files contained the dll (MySql.Data.dll, MySql.Data.Entity.EF6.dll, MySql.Web.dll)
我已确保 Program Files 中的文件夹连接器文件夹包含 dll(MySql.Data.dll、MySql.Data.Entity.EF6.dll、MySql.Web.dll)
Disable the rollback functionality:
禁用回滚功能:
Add to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer the property "DisableRollback" with the value 1 (dword) or you can paste this to a "reg" file:
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer]"DisableRollback"=dword:00000001
将值为 1 (dword) 的属性“DisableRollback”添加到 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer,或者您可以将其粘贴到“reg”文件中:
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer]"DisableRollback"=dword:00000001
I suggest that you enable the rollback functionality by deleting the entry in the registry or set the value to 0.
我建议您通过删除注册表中的条目或将值设置为 0 来启用回滚功能。
Uninstall
卸载
回答by hpotter_otter
For uninstalling, this method could also be helpful if you know when you installed the program.
对于卸载,如果您知道安装程序的时间,此方法也可能会有所帮助。
- Do a system restore by going into the start menu in windows and right clicking on Computer.
- Go into Properties and look for the System Protection. There should be a button with "System Restore" on it.
- You can choose how far back you'd like to restore your system.
- 通过进入 Windows 中的开始菜单并右键单击计算机来进行系统还原。
- 进入属性并查找系统保护。上面应该有一个带有“系统还原”的按钮。
- 您可以选择要恢复系统的时间。
This could help you uninstall the program, and many other programs. Keep in mind that this method should only be used if you have not downloaded or uninstalled anything that you permanently want to stay the same, which, in case you will have to redo it.
这可以帮助您卸载该程序和许多其他程序。请记住,只有在您尚未下载或卸载任何您希望永久保持不变的内容时才应使用此方法,以防万一您必须重做。
回答by simon at rcl
It could be this http://bugs.mysql.com/bug.php?id=62606
可能是这个http://bugs.mysql.com/bug.php?id=62606
It looks like quite a few people had problems with it.
看起来不少人都遇到了问题。


