Skip to main content

ExitCode element

Describes map of exit code returned from executable package to a bootstrapper behavior.

Parents

ExePackage, BundlePackage

Attributes

Behavior (enumeration, required) : Choose one of the supported behaviors error codes: success, error, scheduleReboot, forceReboot, errorScheduleReboot, errorForceReboot. This attribute's value must be one of the following:

  • success: The process completed successfully.
  • error: The process failed.
  • scheduleReboot: The process completed successfully and requires the machine to be restarted.
  • forceReboot: The process completed successfully and initiated a restart.
  • errorScheduleReboot: The process failed and requires the machine to be restarted.
  • errorForceReboot: The process failed and initiated a restart.

Value (NegativeInteger) : Exit code returned from executable package. If no value is provided it means all values not explicitly set default to this behavior.

Edit the schema for this page