Apache Windows 卸载路径
我正在尝试查找 apache 2.2 的卸载文件的路径。我可以在添加/删除程序中看到它,并尝试在 HKLM\software\microsoft\windows\currentversion\uninstall 下的注册表中找到卸载路径,但没有 apache 的文件夹...
我正在尝试查找路径因为我正在制作一个安装 apache/php/mysql 的安装文件,并希望事先卸载这 3 个文件的任何现有安装。
我知道运行 apache 安装程序可以让您选择修复/删除(如果已安装),但我希望卸载是静默/自动的,这样最终用户不必手动选择删除来实际卸载现有的 apache。
我希望这是有道理的,提前致谢。
I'm trying to find the path of the uninstall file for apache 2.2. I can see it in add/remove programs, and tried to find the uninstall path in the registry under HKLM\software\microsoft\windows\currentversion\uninstall but there is no folder for apache...
I'm trying to find the path because I'm making an install file which installs apache/php/mysql and want to uninstall any existing installations of those 3 beforehand.
I know that running the apache installer gives you the option of repair/remove if its already installed but I want the uninstall to be silent/automated, so that the end user doesnt have to manually select remove to actually uninstall the existing apache.
I hope this makes sense, thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在我的 WinXP x32 笔记本电脑上,有一个 Apache (2.2.13) 密钥,与 MSI 一起安装在
...下,卸载字符串为
Just check a Win2003 machine (Apache 2.2.19) at工作和它是一样的。
这可能对您没有多大帮助,因为您需要先找到密钥,然后才能知道将哪个 UUID 传递给 msiexec。
查看其他键,这对于使用 MSI 安装的所有软件包似乎都是相似的。
您正在使用哪个版本的 Apache?因为2.2分支中的一些旧版本没有使用MSI(如果我没记错的话),我认为他们可能使用了InstallShield?
On my WinXP x32 laptop there is a key for Apache (2.2.13), installed with the MSI, under
...and the uninstall string is
Just checked a Win2003 machine (Apache 2.2.19) at work and it is the same.
This probably doesn't help you very much, because you need to find the key before you know which UUID to pass to msiexec.
Looking through the other keys, this seems to be similar for all packages that were installed with MSIs.
Which version of Apache are you looking at? Because some older releases in the 2.2 branch didn't use MSI (if I remember rightly), I think they may have used InstallShield?
你最初是如何安装apache的?大多数时候,它在 Windows 上与 XAMPP、WAMP 或其他类似的捆绑包一起安装。尝试搜索 php.ini 或 apache.conf,然后查看目录结构。这应该为您指明正确的方向,您也可以尝试
也可以看看这里 http ://support.esri.com/en/knowledgebase/techarticles/detail/23569
How did you originally install apache? Most of the time on Windows it is installed with XAMPP, WAMP, or some other similar bundled package. Try a search for php.ini or apache.conf, then look at the directory structure. That should point you in the right direction, you could also try
Also take a look here http://support.esri.com/en/knowledgebase/techarticles/detail/23569
以下是我在 Windows 7 上卸载 Apache 服务器时遵循的说明: http://www .ehow.com/how_7361546_uninstall-apache-windows.html
还有一件事,在执行命令提示符指令时,一定要以管理员身份运行它,否则它会告诉你访问被拒绝。
Here are the instructions I followed when I uninstalled my Apache server on Windows 7: http://www.ehow.com/how_7361546_uninstall-apache-windows.html
And one more thing, when doing the command prompt instruction, be sure to run it as Administrator or it will tell you that access is denied.