![Apache 安装程序问题](https://linux22.com/image/533813/Apache%20%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F%E9%97%AE%E9%A2%98.png)
我目前正在使用:
msiexec /i httpd.msi /passive ALLUSERS=1 SERVERADMIN=admin@localhost SERVERNAME=localhost SERVERDOMAIN=localhost SERVERPORT=80 INSTALLDIR=%SYSTEMDRIVE%\apache
想要轻松安装 Apache,但又不想安装 .msi 附带的 Apache Monitor。我该怎么做?
谢谢!
答案1
使用 ADDLOCAL= 选择如下功能(ApacheMonitoring 功能已从列表中删除):
msiexec /i httpd-2.2.17-win32-x86-openssl-0.9.8o.msi /passive ALLUSERS=1 SERVERADMIN=admin@localhost SERVERNAME=localhost SERVERDOMAIN=localhost SERVERPORT=80 INSTALLDIR=%SYSTEMDRIVE%\apache ADDLOCAL=ApacheDocs,ApacheRuntime,Apache,BuildFiles,Iconv,OpensslBin,SslBin
例如,您可以使用 SuperOrca 查看 .msi 文件的功能