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
  1. Home
  2. General Programming
  3. C#
  4. How to add a service in startup

How to add a service in startup

Scheduled Pinned Locked Moved C#
tutorial
3 Posts 2 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.
  • I Offline
    I Offline
    imsathy
    wrote on last edited by
    #1

    is there a way to deploy a windows service app.. so tht its becomes a sevices at the start up :doh: sathy

    V 1 Reply Last reply
    0
    • I imsathy

      is there a way to deploy a windows service app.. so tht its becomes a sevices at the start up :doh: sathy

      V Offline
      V Offline
      VenkataRamana Gali
      wrote on last edited by
      #2

      go to Design view of your Service.cs file, right click add Installer, you will get ServiceInstaller, ServiceProcessInstaller. Select ServiceInstaller, go to properties set StartType to Automatic. Make a setup project and deploy. regards GV Ramana

      I 1 Reply Last reply
      0
      • V VenkataRamana Gali

        go to Design view of your Service.cs file, right click add Installer, you will get ServiceInstaller, ServiceProcessInstaller. Select ServiceInstaller, go to properties set StartType to Automatic. Make a setup project and deploy. regards GV Ramana

        I Offline
        I Offline
        imsathy
        wrote on last edited by
        #3

        thanks GV, but this is how i made the setup but this is installing and i can c my service at the windows service list but i cant start it ... its showing a "JIT error " sathy

        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