osinghrathore
12th September 2004 02:39 UTC
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
12th September 2004 13:32 UTC
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
andrewboothman
13th September 2004 00:05 UTC
In my version of Apache:
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.31\ServerRoot