Run a Windows Service as a console app

Before a Windows Service can run, it has to be “installed” first using installutil. EG: C:\installutil -i c:\path\to\project\debug\service.exe Then you can open up the list of Services to start it. EG: Right click ‘My Computer’ Click on ‘Manage’ Open up ‘Services and Applications’ Click on ‘Services’ Find your service in the list and right-click on … Read more

Failing to start Windows service after a MajorUpgrade with WiX

Debugging Results: Following a lot of debugging (by original poster – OP) this turned out to be a known MSI issue described here: https://wix-users.narkive.com/EMfQPDrM/a-bug-get-reg-sz-when-using-type-integer. Nice search work. What is in a DWORD? (a REG_SZ apparently): Essentially MSI “converts” a DWORD value found via a RegistrySearch operation to a formatted string – REG_SZ – during upgrade … Read more