如何卸载拒绝卸载的 xampp 安装?
我在Windows 7(64)上的programs(86)文件夹中下载了xampp 1.7.3(32)。 MySql 和 Apache 都拒绝运行,它们启动然后立即关闭。所有端口都是免费的。
因此,我决定卸载,但是,当我运行卸载程序时,我收到以下错误
"Input Error: Can not find script file "C:\Program Files (x86)\xampp\uninst.temp\xampp_uninstall.vbs" XAMPP uninstall not OK
为什么上面的行中有空格,这是否重要“C:\Program Files (x86)”?
有人可以帮我理解这个问题吗?卸载 xampp(或使其正常工作)。它没有显示在控制面板中,所以我被卡住了。该文档明确指出应使用卸载程序。
我已经在 serverfault 上问过这个问题,但是由于我在这里得到了很多帮助,我想知道这里是否有人知道问题可能是什么? 非常感谢所有帮助。谢谢。
I downloaded xampp 1.7.3 (32) on windows 7 (64) in the programs(86) folder. both MySql and Apache refuse to run, they start and then instantly turn of. All ports are free.
So I decide to uninstall however, when i run the uninstaller I receive the following error
"Input Error: Can not find script file "C:\Program Files (x86)\xampp\uninst.temp\xampp_uninstall.vbs" XAMPP uninstall not OK
Why is there spaces in the above line and does this matter "C:\Program Files (x86)" ?
Can somebody please help me to understand the problem & uninstall xampp (or get it to work). It does not show in the control panel so I am stuck. The documentation clearly states the uninstaller should be used.
I have asked this question on serverfault but since ive had so much help here, i was wondering if anybody here knows what the problem could be?
All help is greatly appreciated. Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
使用 1.7.3 和 1.7.7 的 XAMPP 控制面板卸载服务:
右键单击 /xampp/xampp-control.exe,选择以管理员身份运行,然后删除要作为服务卸载的服务旁边的复选标记。这里的技巧是使用“以管理员身份运行”选项打开 XAMPP 控制面板。
如果您在使用 XAMPP 控制面板时遇到一些问题,您可能需要从命令行执行此操作。有关于此的注释,请参阅下一节。
使用 1.7.3 和 1.7.7 的命令提示符卸载服务:
Apache:找到并右键单击 /xampp/apache/apache_uninstallservice.bat,选择以管理员身份运行,按照提示操作直至完成。
MySQL:找到并右键单击 /xampp/mysql/mysql_uninstallservice.bat,选择以管理员身份运行,按照提示操作直至完成。
附加说明:
大部分功能可能取决于您安装服务运行时所使用的用户帐户。 以管理员身份运行可能不是必需的。然而,它通常能起到作用。
此外,在尝试运行卸载脚本之前,您可能需要重新启动计算机并使用服务管理器手动停止 Apache 和 MySQL 服务。
让我知道这是否有效。这可能需要几次尝试。
祝你好运,
大卫·卡罗尔
Uninstalling Service using XAMPP Control Panel for 1.7.3 and 1.7.7:
Right click on /xampp/xampp-control.exe, select Run as administrator, then remove the check marks next to the service you want to uninstall as a service. The trick here is to open XAMPP Control Panel using the 'Run as administrator' option.
If you experience some issues with the XAMPP Control Panel, you might need to do this from the Command Line. See next section for notes on this.
Uninstalling Service using Command Prompt for 1.7.3 and 1.7.7:
Apache: Locate and right click /xampp/apache/apache_uninstallservice.bat, select Run as administrator, follow prompts until completed.
MySQL: Locate and right click /xampp/mysql/mysql_uninstallservice.bat, select Run as administrator, follow prompts until completed.
Additional Notes:
Much of what will work may depend on the user account you installed the service to run as. The Run as administrator may not be necessary. However, it usually does the trick.
Also, you may need to restart your computer and use the Service Manager to Manually Stop the Apache and MySQL Services before trying to run the uninstall scripts.
Let me know if this works. It may require a few attempts.
Best of Luck,
David Carroll
切勿将 xampp 安装到 Windows 7 上的 x86 文件夹。
直接安装到 C 盘即可。
暂时解决办法:
系统还原或删除该文件夹并假装它从未发生过。
Never install xampp to the x86 folder on windows 7.
directly to the C drive works fine.
Solution for the time being:
System Restore or delete the folder and pretend it never happened.
您可能想尝试重新运行 XAMPP 安装程序。后台中的某些文件可能已损坏或在初始安装时未正确复制,因此重新安装可能会有所帮助。另外,有时安装程序如果检测到已安装程序,会给您删除程序的选项。如果 XAMPP 安装程序支持该功能,这可能会帮助您卸载它。
You may want to try rerunning the XAMPP installer. There may have been some files in the background that corrupted or did not copy correctly on initial install, so a reinstall might help. Also, if sometimes installers will give you the option to remove their program if they detect it is already installed. That might help you get it uninstalled if XAMPP installer supports that feature.
当您在 Windows 上统一安装 xampp 时,它会将 xampp 服务器保留在系统上。您必须先删除它,然后再安装另一个。要删除它,请以管理员身份打开终端并提示此命令,
将服务名称替换为计算机中的 xampp 服务名称,以使其执行此操作
提示 win+E -->右键单击桌面并选择管理(gerer) -->在面板中选择将打开的服务,然后找到 xampp,通常名称是 XAMPP Service
祝其余的好运
when you unisintall xampp on windows it rest xampp server on system. you must delete it before install another. to delete it open terminal as admin and tipe this command inside
replace service name by the name of xampp service in your computer to get it do this
tipe win+E --> right click on desktop and select manage(gerer) --> select service in the pannel who will be open and then fin xampp, frequently the name is XAMPP Service
good luck for the rest
对于在较新版本的 Windows 上遇到相同错误的任何人,请尝试以管理员身份运行卸载程序
for anyone getting the same error on newer versions of windows, try running the uninstaller as admin