Setup-Manager icon indicating copy to clipboard operation
Setup-Manager copied to clipboard

Enhancement: manage failed deployments

Open ecanault opened this issue 1 year ago • 3 comments

Hi,

In relation with #15, it should be nice if Setup Manager could retry automatically failed items. What about adding a new boolean preference key like retryAfterFailure? The "retry" routine could be based on 2 conditions:

  • retryAfterFailure set to true
  • Missing .JamfSetupEnrollmentDone file

Thanks, Emmanuel Canault

ecanault avatar Jul 29 '24 13:07 ecanault

Instead of a simple boolean, the following would be nice:

  • retries Integer. Indicates how many retries to attempt before failing
  • failureAction int/enum/string? Indicates what to do if retries has been attempted but failed. Options should include:
    • Abort - Fail the setup and leave system in a dirty half-setup state. Useful if a critical component fails to install. If in this state, we should attempt again next reboot or something like that.
    • Continue - Log and notify the user via icon, but continue setup. Useful if a non-essential app fails to install.

Hobadee avatar Oct 10 '24 22:10 Hobadee

@Hobadee if the choice is continue... why validate at all?

scriptingosx avatar Oct 11 '24 07:10 scriptingosx

im interested in this feature too. Would be nice to have the option to go back to a specific point when something failed. Example: back to the user input or any other action.

phillscholl avatar Nov 29 '24 13:11 phillscholl