Deploy Windows Service

Hi,

I read a tutorial on MSDN about the creation of a simple windows service, and then install it from Visual Studio.NET command prompt using InstallUtil ... command.

My question is: how can we deploy this windows service so that we can install on another computer that doesn't have Visual Studio.NET installed.

I mean can we create an installer or some package for it, or must we need Visual Studio.NET command prompt also on another computer.

Please help.




Answer this question

Deploy Windows Service

  • MAKU

    You can get the installer to automaticle install the service. I have just rolled one out where I included a batch file in the root directoy of the application that would do the install part. Remember the as long as the user has the .net framework installed they have the tools to install the service as they are part of the runtime and not just part of visual studio.



  • Jordanspringer

    Hi cool_shezz,
    this link describes how to create and install a windows service;

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwindowsserviceapplication.asp


  • Tony Green

    Glenn said : "You can get the installer to automaticle install the service. I have just rolled one out where I included a batch file in the root directoy of the application that would do the install part."

    How can i achieve this, can you please specificlly tell me the steps , because this is what i wanna know.



  • Deploy Windows Service