ServiceProcessInstaller HelpText has very little documentation
I googled around for info on the ServiceProcessInstaller, hoping to change the HelpText. It's a getter, so you have derive and override, rather than setting it. No biggie, but I was surprised. I'm used to googling for .NET documentation and finding MASSIVE amounts of stuff...lot's of articles, etc. Apparently the ServiceProcessInstaller just isn't sexy enough to write about.
This overloaded getter will show help text when someone calls "InstallUtil.exe myserviceassembly.exe /?" on my service exe.
Anyway, I did this. It's not rocket science, but I'd have perferred a setter. Maybe I'm old fashioned.
90 public override string HelpText
94 return @"Enter the Username and Password for the Whatever account in the form \\domain\username. For machines not in a domain, enter hostname\username.";
Then I change the InitializeComponent section - you know, the section you're never supposed to change?
66 this.serviceProcessInstaller1 = new MySpecialServiceProcessInstaller();
67 this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
Maybe when I google for it again, I'll find my own site. If I can touch the life of just one child who's also using System.ServiceProcess.ServiceProcessInstaller...