I downloaded your code and used it as it but I just changed
this line
_svc_account_ = "addomain\username"
with this line
_svc_account_ = "emady"
and I installed it a success but when I tried to start it I got
Error starting service: The service did not respond to the start or control request in a timely fashion.
thanks for help