I\'m installing a Windows Service using the ServiceProcessInstaller and ServiceInstaller classes.
ServiceProcessInstaller
ServiceInstaller
I\'ve used the ServiceProcessInstal
ServiceProcessInstal
I don't think it's part of the .NET API, but this might help:
A ServiceInstaller Extension That Enables Recovery and Autostart Configuration
Install a Windows service the way YOU want to! (C# version)