When I try to install the install a service which i have just delete using sc command i get the following error :
"The specified service has been marked for deletion".
Just close the services.msc and try again. otherwise one might have to restart the machine :( to resolve the issue.