Dec 08 2022 06:06 AM
How can I set the recovery option for a service in MSIX?
I tried adding capabilities (Local System Services and Packaged Services) and using the sc failure command through PSF; however, it didn't work.
Does MSIX support the service recovery option?
Dec 11 2022 10:25 AM
I wouldn't expect the PSF to help on this. More likely, this would have to be supported by settings in the AppXManifest file.
A quick look at Desktop6 schema for services shows there is https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-desktop6-trigger... which I suppose might work.
I have not used this, but I suppose maybe you can trigger on an event log event that the service stopped and take action.
Dec 15 2022 01:56 AM
Apr 03 2023 06:22 AM