Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

NT Service Dependencies


1 reply to this topic

Chelley

Chelley
  • Members
  • 43 posts

Posted 06 December 2005 - 12:05

Hi

I have an NT service which relies on SQL Server to be started each time the service attempts to be started.

I can see there is a 'Dependencies' option under Install NT Services but it looks like its a free text field so what do I put in there for SQL Server???

Michelle

FrankSpierings

FrankSpierings
  • Members
  • 22 posts

Posted 30 December 2005 - 11:06

First of all, read the Installer Documentation, ServiceInstall Table.

This will tell you, that you will need to put in the name of the service which needs to be started first. Note that this name needs to be the short identifying name of the service. This name can be found by using services.msc (MMC Snap-in). Go to the properties of
the service.
The short identifying name will be displayed in at the top of the General tab.
Or you could use the "sc" command in a cmd box.

You must specify "servicename[~][~]" in the Dependencies column of the ServiceInstall table. Again read the SDK documentation for more information about this format.

Hope this helps you out.