Activate downloaded upgrade sometimes fail

Thought I might add what I’ve encountered so far.

There is comment which adds a nice insight on why it probably the magic exit code doesn’t quite work with windows services.

That last commit got me really excited because I am trying to get a way to activate updates on services without manually restarting them (or the computer in general) for some time, my current solution is to launch an external program that asks for admin permission and calls ServiceProcess to restart the service.

I tested it but, at least for me, the behavior continues. Usually nothing happens and occasionally the service is stopped.