More .NET Service woes
Another follow up to Removing an uninstalled .NET service, I ran into a problem where installutil kept giving me an error:
InstallUtil.exe is not a valid Win32 application. Annoying.
I found an post on Randomize that listed some of his(?) issues he saw when building a Windows Service. I think I was unable to unistall the service because of all the spaces in the path, but I seem to remember that I’ve always put my service in Program Files. That obviously has a space in it.
From Randimize’s link, I found another interesting article on how to get a description listed in the services console. I haven’t had an opportunity to try it out, but I will probably include it in the next windows service I need to build.
As it turns out, I’ll have to use my original technique of hacking the registry. Even after reinstalling the service, the problem was happening again.