We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kerenor
Posts: 13
Joined: Mon Mar 20, 2023 3:32 pm

Set recovery configuration for service installed from MSIX ?

Hello,
I was following this guide to install a service with MSIX - https://www.advancedinstaller.com/msix- ... vices.html
However it does not specify how to set the recovery options of the service, which are currently doing nothing. ("Take No Action"). I would like to be able to set them to restart the service.
I also tried following the instruction in this comment viewtopic.php?p=119378#p119378 and added a failure action (set it to configure on both Install & Reinstall), but this also did not change the existing service and it is still "Take No Action".

I cannot use the workaround of running a powershell script custom-action since this results in an "Access is denied" error even as admin (I assume because this is presumably changing something in the MSIX?)

I am using Advanced Installer 21.4
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Set recovery configuration for service installed from MSIX ?

Hello,

Unfortunately, this might not be supported just yet.

From the first article you linked:
Screenshot_210.png
Screenshot_210.png (95.05 KiB) Viewed 10680 times

Additionally, I saw some more articles from the MSIX forums which also leads to me thinking that this might not be supported.

Recovery option in Windows Service - MSIX

This feature request from 2023:

[Feature Request] Make it possible to specify the recovery options for a packaged service #574

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”