c# - How to auto start window service - Stack Overflow
2015-2-20 · Follow the instructions given here to add an installer to your Service application. Pay particular attention to step 5, where you set the StartType property. To start the service after installation, see Automatically start a Windows Service on install