Jump to content

Help with creating a service.


madbull

Recommended Posts

Does anyone know where i can get advanced info on windows xp sevices; before you suggest sites such as blackviper as i need anther kind of info.

For the intergrating part of my application i will need to give the users the option to re-intergrate services:

I know how to create, delete, stop (etc) services. I will make use of the batch file commands that are available to xp as default (they will be embeded in the program etc). Everything is fine except that for the creation part of the "SC" command when the user selects a service for intergration i am unsure of what is required. I have the folowing (so far):

sc create browser start= demand

I need the following info for each service:

The binpath+ (binary path)

Type=

Error=

Group=

Tag=

Depend=

Obj=

Display Name=

Password=

I know what the depend, display name, etc are used for but not sure whatto put; basically saying i know the dependencies but am usure of whatto type. For example do you just type the services (that are dependend upon) names.

Link to comment
Share on other sites


Here:

http://www.microsoft.com/resources/documen...c.mspx?mfr=true

http://support.microsoft.com/kb/251192/en-us

http://msdn2.microsoft.com/en-us/library/ms810435.aspx

http://makemsi-manual.dennisbareis.com/sc_exe.htm

Particularly, pay attention to this:

http://svn.collab.net/repos/svn/trunk/note...ows-service.txt

Note that the command-line syntax for SC is rather odd. Key/value

pairs are specified as "key= value" (without the double-quotes). The

"key=" part must not have any spaces, and the "value" part MUST be

separated from the "key=" by a space.

jaclaz

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...