New windows service template project added
http://msdn.microsoft.com/en-us/library/zt39148a%28v=vs.110%29.aspx#BK_CreateProject
Adding windows eventlog component
Added installer and set up properties
eg

Set the DisplayName property to the text that you want to appear in the Services window in the Name column. F
Make MyWindowsService.Program the start up object
build
//installutil /i C:\Users\debug\xyz.dll
http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller%28v=vs.110%29.aspx