EventStore.WindowsManager.exe Install -- Errors when called in Script

Hi,

I’ve been working to script automated deployments of EventStore clusters in Microsoft Azure. I have a powershell start up script that attempts to install the EventStore service using Eventstore.WindowsManager when the machine boots up for the first time:

C:\eventstore\EventStore.WindowsManager.exe install -InstanceName es-cluster -ManagerConfig C:\EventStore-Config\manager.yaml

net start es-cluster

However, I get the following error:

“Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.”

Anyone encounter this or know of a work-around?

Thanks!

  • Andrew

Do what it says or look into topshelf

This is a commercial support enquiry and is now the subject of a ticket in Zendesk.