Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. urgent ( about window services)

urgent ( about window services)

Scheduled Pinned Locked Moved C#
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Allah Kaa Bandaa
    wrote on last edited by
    #1

    hi all, I have an application, where there is a service manager which is responsible for controlling three services. The three services (which r controlled by service manager) have exe files. I have installed these three services using the installutil.exe . Now, i cannot install the service manager in the same way as I installed the three services because service installer is not present for the service manager application. What i have to do now, Should i add installer to the service manager application and install it using installutil.exe....... if, so , how are the other three services controlled by this application.......

    T H 2 Replies Last reply
    0
    • A Allah Kaa Bandaa

      hi all, I have an application, where there is a service manager which is responsible for controlling three services. The three services (which r controlled by service manager) have exe files. I have installed these three services using the installutil.exe . Now, i cannot install the service manager in the same way as I installed the three services because service installer is not present for the service manager application. What i have to do now, Should i add installer to the service manager application and install it using installutil.exe....... if, so , how are the other three services controlled by this application.......

      T Offline
      T Offline
      turbochimp
      wrote on last edited by
      #2

      I'm not sure I fully understand your question. Is the service manager project, itself, a service? If it is, then yes, add an installer project for the service project, compile it and install it. If, however, the service manager project is just a standard executable or a web project (doubtful), then it should be possible to compile and execute the manager from the windows desktop. As to how the other three services are controlled by the manager, you would need to provice more implementation details about the service manager project for me to answer that question.

      The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

      1 Reply Last reply
      0
      • A Allah Kaa Bandaa

        hi all, I have an application, where there is a service manager which is responsible for controlling three services. The three services (which r controlled by service manager) have exe files. I have installed these three services using the installutil.exe . Now, i cannot install the service manager in the same way as I installed the three services because service installer is not present for the service manager application. What i have to do now, Should i add installer to the service manager application and install it using installutil.exe....... if, so , how are the other three services controlled by this application.......

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Just copy it to a directory. If the three services are installed the service manager application using the ServiceController doesn't need to be in the same directory as the services. The ServiceController (which encapsulates the service control manager (SCM) native APIs) works with service names and doesn't care about the path once the service is registered (and, BTW, all services are executables). The service manager application will need to know the names of the services only. Where you put it on the local machine (and you can even control services remotely if you have the necessary privileges) doesn't matter. Read Deploying Applications[^] in the .NET Framework SDK for more information. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups