Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.2 KiB

  1. README.txt
  2. Author: Murali R. Krishnan (MuraliK)
  3. Created: March 08, 1995
  4. Revisions:
  5. Date By Comments
  6. ----------------- -------- -------------------------------------------
  7. Summary :
  8. This file describes the files in the directory internet\svcs\dll\setup
  9. and details related to Internet Services Setup
  10. File Description
  11. README.txt This file.
  12. svcsetup.c Command line application code for setting service and adding
  13. service information to NameSpace providers.
  14. svcsetup.rc Resource file for the Gopher service setup.
  15. Implementation Details
  16. <To be filled in when time permits. See individual files for comments section >
  17. Contents:
  18. 1. Adding New Internet Service
  19. 2. Installation and Testing of the service setup
  20. 1. Adding New Internet Related Service
  21. Most of the internet related services include a specification of
  22. the service name, display name of the service, a GUID, a SAP ( for SPX/IPX),
  23. a TCP port number ( for TCP/IP). Another assumption is that all these
  24. service will run on WIN32_SHARED_PROCESS basis. ( our tcpsvcs.exe)
  25. For each of the new service add this information to the file svcsetup.c
  26. as another entry in the AllServicesInfo() macro. Add a new macro entry
  27. ServiceInfo() with the required values to AllServicesInfo(). The rest of the
  28. code will take care of the relevant handling of this newly added information.
  29. Use uuidgen.exe to generate a GUID
  30. For Example, see GopherSvc entry in svcsetup.c
  31. 2. Installation and Testing of the service setup
  32. Compile the files in directory svcs\dll\setup\ to generate the
  33. executable svcsetup.exe in the dump directory.
  34. Copy the binary svcsetup.exe to your the target machine where the service
  35. needs to be installed.
  36. Try each of the following after copying:
  37. svcsetup < no parameters>
  38. Gives usage message.
  39. To install the service:
  40. svcsetup <service-name> /svc:<executable-from-which-service-is-run-from>
  41. eg: svcsetup gophersvc /svc:%systemroot%\system32\tcpsvcs.exe
  42. and then do the following:
  43. To add details about the service.
  44. svcsetup <service-name> /add
  45. Now install all the service specific registry entries.
  46. Start and run your service!