Service "Failure Options" Clarification - Advanced Installer Community
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Service "Failure Options" Clarification

On the Service Page documentation the description for "Failure Operations" reads:

•Failure Operations - contains all the failure actions that are performed during the install or uninstall of a service only if it reports a failure error.

My coworker thinks these are actions that are taken into account when INSTALLING the service. I believe this line of documentation is either incorrect or completely misleading as I think these settings apply to the RECOVERY tab of the Service being installed in the Service Control Manager.

My coworker believes if we set this to "Run Program" then we can run a program from Advanced Installer when our service fails to start.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service "Failure Options" Clarification

Hi,

Indeed, the Failure Operations description from the Services page (Failure Operations- contains all the failure actions that are performed during the install or uninstall of a service only if it reports a failure error ) might be misleading. We will update our documentation as soon as possible. Thank you for bringing it to our attention.

The correct description for the Failure Operations is the one from the Service Failure Actions Properties. So, a Service Failure Operation allows you to set failure actions for a service which is already installed or being installed by the current package.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”