Skip to content
⌘ NSIS Forum Archive

Apache detection

3 posts

osinghrathore#

Apache detection

Hi Everybody,
I m a newbie to NSIS but was amazed to see its features and extensibility.
Here is my problem:
Recently I developed an Installer for a PHP web application. It required to detect the Root Directory of Apache Server. I tried to find out that in registry but in vain.
If somebody knows how it can be done pls let me know.
Afrow UK#
If it isn't in the registry, then you could perform a file search, for say the apache main executable.

You'll find two search for file/dir functions here:


Did you try doing a search for 'apache' in regedit?

-Stu
andrewboothman#
In my version of Apache:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.31\ServerRoot