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. .NET (Core and Framework)
  4. Windows Service Installation

Windows Service Installation

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpsysadmin
2 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.
  • S Offline
    S Offline
    Sanjeev Kumar
    wrote on last edited by
    #1

    Hi, I am trying create deployment package for my windows service application written in C#. I am able to install my windows service using InstallUtil.exe but when i try to install using deployment project, it installs successfully but does not show up in Service manager list. Can anyone knows what I am missing. Sanjeev

    B 1 Reply Last reply
    0
    • S Sanjeev Kumar

      Hi, I am trying create deployment package for my windows service application written in C#. I am able to install my windows service using InstallUtil.exe but when i try to install using deployment project, it installs successfully but does not show up in Service manager list. Can anyone knows what I am missing. Sanjeev

      B Offline
      B Offline
      Burt Harris
      wrote on last edited by
      #2

      OK, I think I can help with this one. In the Solution Explorer, select your deployment project and press "Custom Actions Editor" icon near the top of the Solution Explorer. In the Custom Actions window, select the root node, "Custom Actions". Right-click and choose "Add custom action..." Select the file that you normally run InstallUtil on as the custom action. This will have an effect like running InstallUtil during setup, and do the right think at uninstall time too. Burt Harris

      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