I just created a Test Service in order to create the framework for another script I am developing. I need to pass parameters to the Service, so I modified the service properties manually to enter the parameters
I even checked in the registry and the parameters are there:
However, nothing is passed to the OnStart function. This is my code:
It looks the helper code when the EXE was created is ignoring the arguments.