[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Inno Setup & svn pre Beta: Help wanted

From: Jostein Chr. Andersen <jostein_at_josander.net>
Date: 2003-10-06 13:02:17 CEST

On Monday 06 October 2003 12.28, Dmitriy O Popkov wrote:
> > > No.
> > > Look an ApacheMonitor.c file (in the Apache 2.0.47 sources
> > > tarball). ApacheMonitor opens registry key
> > > HKLM\\System\\CurrentControlSet\\Services\\
> > > and finds services with "Apache*.exe" filename.
> >
> > I'm working on it now. Paths can also be found in the usual place
> > HKLM/SOFTWARE/vendor/product/blabla and also other places. I
> > will use the
> > registry key you describe for an "apache -k stop|uninstall|install|
> > start" session and install the mod_dav_svn and mod_authz_svn.
> Accessing HKLM/SOFTWARE/.../blah-blah-blah - wrong way.
> For example, I can have multiple Apache instances on one machine
> (one for local httpd, one for public httpd, one for svn e t.c.)
> IMHO, the only true way - using scheme from ApacheMonitor.c file.

I use HKLM\\System\\CurrentControlSet\\Services for detecting the service
and HKLM/SOFTWARE/ for detecting the server root (the
System\\CurrentControlSet\\Services gives me the version to look for)

> > It seem to be necessary to install libdb40.dll into Apache\bin or
> > Apache\modules folder on Win 2000 too.
> > Why only Win 2000 and not NT4 and XP, can someone tell me about
> > this?
> Why libdb40.dll into Apache/bin?
> Installer adds /Program Files/Subversion to system path.
> Apache can use libdb40.dll from /Program Files/Subversion without any
> problems...

It works for you and it works for me but several users have had problems
when libdb40.dll are not in Apache/bin or the modules folder.

> Possible solution of this problems (paths, replacing used files e
> t.c.) - using *.msi files ?

It's possible with *.msi and a lot of other Windows installers.. ..and
it's possible in Inno Setup too.
I like Inno Setup, Inno Setup have a big devoted community. If I die,
quit or ends my Subversion relation in another way, then it's many well
skilled people who are ready to take over. It's one word here or in the
Inno Setup News group and I'm history :-)

> > For now, the installer will only work with the standard Apache
> > binary installer download.
> .. and corrupt non-standard installations ? :(

Why should anything be corrupted?
I assume that anyone who are doing apache from source, manually or in
another way are using an unusual apache setup can install this manually.

If the installer finds apache when the data are found where they are
supposed to be in the registry, then it will install the modules and
alter the httpd.conf file if the user say yes to do so when the
installer asks.


Jostein Chr. Andersen <jostein_at_josander.net> http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 6 13:03:12 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.