Hi,
I would like to install a Windows service that host TopShelf interface.
I use the following command line :
MyService.exe install -displayname:"Js Service 9.0" -servicename:Js_Service_9_0 -instance:000
And I get the following error:
Topshelf.HostFactory Error: 0 : The service terminated abnormally, Topshelf.HostConfigurationException: The service was not properly configured:
[Failure] Command Line An unknown command-line option was found: ARGUMENT: Service
[Failure] Command Line An unknown command-line option was found: ARGUMENT: 9.0"[Success] Name Js_Service_9_0
[Success] DisplayName
"Js (Instance: 000)[Success] Description Processes the job requests.
[Success] InstanceName 000
[Success] ServiceName Js_Service_9_0$000
at Topshelf.Configurators.ValidateConfigurationResult.CompileResults(IEnumerable`1 results)
at
Topshelf.HostFactory.New(Action`1 configureCallback)
at Topshelf.HostFactory.Run(Action`1 configureCallback)
As you can see it doesn't get the right value from command line even if I encapsuled the value between double quote chars.
I guess I'm doing something wrong, please tell me what.
Thanks