RSS

How to install and uninstall a .NET windows service

Wed, Dec 2, 2009

Programming, Tutorials

Following example demonstrates how we can install/uninstall with .NET windows service.

Installing service with InstallUtil.exe
By using .NET framework utility InstallUtil.exe we can install/uninstall windows service. It’s located at:

[.NET framework path]\[Version]\InstallUtil.exe

Use same command using parameter /u for uninstallation of windows service.

InstallUtil.exe /u "[Path to your service]"

Install service programmatically

We can also install service using C#; for this please find following c-sharpcorner.com article.
ServiceInstaller in c-sharpcorner.com article.

Sharing ~ Helping Other:
  • Print
  • email
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • BlinkList
  • DZone
  • Slashdot
  • YahooMyWeb
  • StumbleUpon
  • Live
  • IndianPad
  • DotNetKicks
  • Technorati

Related Posts:

, ,

This post was written by:

eXclusiveMinds - who has written 500 posts on eXclusiveMinds.


Contact the author

Leave a Reply

You must be logged in to post a comment.