I am trying to install a windows service on a remote machine. The service is implemented using TopShelf. I execute the following psexec command:
psexec \\remoteServerName "C:\PathToExe\TopShelfServiceName.exe" "install"
The error I get is: ERROR. Service announced. Topshelf.HostConfigurationException: service configured incorrectly: [Failure] Command line An unknown command line option was found: ARGUMENT: "install"
It seems that I am not running the TopShelf installer, but I am running exe and passing "install", which is not a valid argument.
Any help is appreciated!
source
share