Read
Installing a Service documentation from Microsoft. Must must apply the correct credentials in CreateService.
It is best practice to log all error in the error console or write some log. Test all features on some test target machine and
NOT on a developer machine.