Archive: Apache detection


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.


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:
http://nsis.sourceforge.net/archive/...b.php?page=211

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

-Stu


In my version of Apache:

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