I have installed several other custom .Net windows services successfully. A new one I had recently written was very similar to the others and while it installed without error -
In my case, the problem was caused by a mistake in the service start routine. DriverEntry (in my case it was a kernel-mode driver) returns a bad status value. I think this situation applies to user mode too.