Subject | Re: [ib-support] Installing Firebird an NT service using InnoSetup? |
---|---|
Author | Claudio Valderrama C. |
Post date | 2001-12-11T07:47:27Z |
"Brad Pepers" <brad@...> wrote in message
news:20011211054016.JBIR15616.priv-edtnes15-hme0.telusplanet.net@there...
install it, too, but someone noticed in our early betas that FB didn't put a
GuardianOptions key in the registry. I thought a person named Marcel was
rebuilding with Delphi the GUI program that's called IB Services Manager in
IB6.
application (what I use for myself on NT4), the guardian may be running as
an application, the engine may be running as a service or the guardian may
be running as a service. Of course, under typical circumstances, the
guardian running means the engine is running, too. To stop a service from
the command-line, you use the
NET STOP "service name"
command and you probably already know how to stop the engine or the guardian
running as applications.
If you don't like NET STOP, you can call the NT API for Services or may use
the WMI (Windows Management Instrumentation). If WMI can control and query
the IIS, it can query and control any service:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/r_32
os1_12yb.asp
and click on "Services".
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing
news:20011211054016.JBIR15616.priv-edtnes15-hme0.telusplanet.net@there...
>on
> I think the guardian program is only on Windows 9x systems and isn't used
> the NT line.The guardian runs as a service under NT. I have no idea why instsvc doesn't
install it, too, but someone noticed in our early betas that FB didn't put a
GuardianOptions key in the registry. I thought a person named Marcel was
rebuilding with Delphi the GUI program that's called IB Services Manager in
IB6.
> Doesn't the service code on Windows NT restart the service ifOnly in W2K and XP, not before.
> it dies for some reason?
> - install a gds_db line in the C:\Windows\Services fileThat's the location for Win95 at least.
> - install a gds_db line in the C:\Windows\system32\drivers\etc\servicesThat's the location for NT and I think W2k and XP preserve it.
> file
> Just as important is how to uninstall properly. I'm just figuring thisout
> right now. At least on the Win9X side of things, I've got to figure outhow
> to tell the ibguard.exe to stop running otherwise you get an error about aIn NT there are fours cases, since the engine may be running as an
> file in use. And all the registry and service stuff has to be removed.
application (what I use for myself on NT4), the guardian may be running as
an application, the engine may be running as a service or the guardian may
be running as a service. Of course, under typical circumstances, the
guardian running means the engine is running, too. To stop a service from
the command-line, you use the
NET STOP "service name"
command and you probably already know how to stop the engine or the guardian
running as applications.
If you don't like NET STOP, you can call the NT API for Services or may use
the WMI (Windows Management Instrumentation). If WMI can control and query
the IIS, it can query and control any service:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/r_32
os1_12yb.asp
and click on "Services".
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing