Meta

Wix Windows Service – Start on install

So I was building a wix setup project for a windows service and kept running into a wall while getting the service to start after a successful install. It kept giving me an error “Verify that you have sufficient privileges to start system services”. I searched through nearly 50 articles that led me on a wild goose chase of the issue being related to actual permissions, dual service control tags, the wait attribute and hacks inside the service installer code behind. To actual solution was ridiculously simple, the error was just too obscure to identify the root cause.