about making setup project of window services
-
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......
-
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......
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
-
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......
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)