Old 12th September 2004, 01:39   #1
osinghrathore
Junior Member
 
Join Date: Sep 2004
Location: India
Posts: 1
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.
osinghrathore is offline   Reply With Quote
Old 12th September 2004, 12:32   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 12th September 2004, 23:05   #3
andrewboothman
Junior Member
 
Join Date: Sep 2004
Location: Scotland
Posts: 3
In my version of Apache:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\1.3.31\ServerRoot
andrewboothman is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump