Last post Jun 13, 2013 10:23 AM by l.laxmikant
Jun 12, 2013 07:19 PM|nikoo56|LINK
I have installed a service on the windows 2008 using installutil. Now service is there. But I recently find I have to change the name of the service. Is there any way I can change
name of the service on the server with installutil? Or any other simple way?
Jun 13, 2013 10:23 AM|l.laxmikant|LINK
if you want to change the name which is shown in services you can modify the installer class of windows service and provide your new name
service.StartType = ServiceStartMode.Automatic;
service.ServiceName = "Northwind Servces";
service.Description = "Northwind Servces";
If you want change the service name from interface and service you can use service contract attribute and service behavior.