Apache Windows 卸载路径

发布于 2024-12-01 12:46:37 字数 332 浏览 0 评论 0原文

我正在尝试查找 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

浅忆流年 2024-12-08 12:46:37

在我的 WinXP x32 笔记本电脑上,有一个 Apache (2.2.13) 密钥,与 MSI 一起安装在

HKLM\software\microsoft\windows\currentversion\uninstall

...下,卸载字符串为

MsiExec.exe /I{UUID of key}

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

HKLM\software\microsoft\windows\currentversion\uninstall

...and the uninstall string is

MsiExec.exe /I{UUID of key}

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?

梓梦 2024-12-08 12:46:37

你最初是如何安装apache的?大多数时候,它在 Windows 上与 XAMPP、WAMP 或其他类似的捆绑包一起安装。尝试搜索 php.ini 或 apache.conf,然后查看目录结构。这应该为您指明正确的方向,您也可以尝试

apache -k uninstall

也可以看看这里 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

apache -k uninstall

Also take a look here http://support.esri.com/en/knowledgebase/techarticles/detail/23569

一桥轻雨一伞开 2024-12-08 12:46:37

以下是我在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文