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. Web Development
  3. ASP.NET
  4. about making setup project of window services

about making setup project of window services

Scheduled Pinned Locked Moved ASP.NET
tutorialworkspace
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 a solution in which different projects have been added. Among these project there r there windows services. Now i want to make a setuup of these window services so that it can be installed on desired computer. I want that this setup program install the three services on the desired computer, make a shortcut in the start->programs and also show an icon in the system try so that we can use this icon to start and stop the services....... Can some body tell me, how to make this project.... Which files to be added in the setup project etc..... i am waiting for a quick response......

    M J 2 Replies Last reply
    0
    • A Allah Kaa Bandaa

      Hi all, I have a solution in which different projects have been added. Among these project there r there windows services. Now i want to make a setuup of these window services so that it can be installed on desired computer. I want that this setup program install the three services on the desired computer, make a shortcut in the start->programs and also show an icon in the system try so that we can use this icon to start and stop the services....... Can some body tell me, how to make this project.... Which files to be added in the setup project etc..... i am waiting for a quick response......

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, + To deploy windows services you can use a command line tool InstallUtil.exe or create a setup project to contain your service project's output. For more information on how to create a setup project, you can take a look at some documents below: Installing and Uninstalling Services[^] Adding Installers to your Service Application[^] Deploying Applications and Components[^] + Once windows services are installed, you can start your services with a couple of ways: Server Explorer, Services Control Manager, code (with the ServiceController component). For more information, see Starting Services[^] Monitoring Windows Services[^] In your case, you want to start services with a short cut in the Start/Programs and a system tray icon, I think you will have to create a simple window-based application to handle those things. In this application, you can use the ServiceController component to cotrol your services. It's much the same as the 'Service Manager' application of SQL Server. Then you can add this application to the setup project. + To create a shortcut for the program in the Start/Programs you can go to the File System Ed

      1 Reply Last reply
      0
      • A Allah Kaa Bandaa

        Hi all, I have a solution in which different projects have been added. Among these project there r there windows services. Now i want to make a setuup of these window services so that it can be installed on desired computer. I want that this setup program install the three services on the desired computer, make a shortcut in the start->programs and also show an icon in the system try so that we can use this icon to start and stop the services....... Can some body tell me, how to make this project.... Which files to be added in the setup project etc..... i am waiting for a quick response......

        J Offline
        J Offline
        Javier Lozano
        wrote on last edited by
        #3

        Take a look at this MSDN how-to[^]. It steps you through the creation of a windows service and has a link on to show you how to create a setup project. ~Javier Lozano (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