Fileset / Payload Script Exit Code Status
Script Exit Codes
FileWave
Quick answer: exit code 0 means success, 210 means the belowrequirements errorscheck maysucceeded but the Fileset should be skipped, and 220 means the outcome.requirements
Status Value |
Status Description |
Severity |
Status Details |
|---|---|---|---|
| 220 | Failed! (Will Not Retry) | ERROR | Script exited with a failure, do not automatically retry |
| 210 | Success (Skipped Install) | ERROR | Script exited successfully, report |
| 0 | Success | OK | Script exited successfully |
| -1000 | Crashed | ERROR | Script crashed during execution |
| -1001 | Time Out Exceeded | ERROR | Script execution time took longer than Get Info > Executable > 'Wait for executable to finish' > 'Wait for:' |
| -1002 | No Logged In User | ERROR | Script could not run |
| -1003 | Failed To Start | ERROR | Script could not run |
Expected behavior
Requirements scripts processing rules
- If any
of therequirementsscriptsscript returns220,220,weFileWavestopstopsexecutingrunning scripts andalso stopstops trying to install thefileset.Fileset. No further actionwill be done,occurs unless an administrator manuallyrequestedrequestsby an administrator,it orunlessa newer version of thefilesetFilesetisbecomes available. ThefilesetFileset statuswill beis reported as"Requirements Not Met: Will NotRetry"Retry. - If any
ofrequirementsthe scriptsscript returns a non-zeroandvalue≠210,otherwethanstop210,executingFileWave stops running scripts.RequirementRequirements scriptswill be executedrun again 2 minutes later. - If
anyaofrequirementsthe scriptsscript returns 210whenand all other scripts return0,0, thefilesetFileset statuswill beis reported as"Skipped"Skipped. ThefilesetFilesetwillis notbeinstalled. - Only
ifwhen all requirements scripts return0,0thendoeswe willFileWave install thefileset.Fileset.
Kiosk
If a requirements script returns 210 or 220,220, the filesetFileset willis not be available in Kiosk.
If thea dependency of a filesetFileset has a requirements script that returns 210,210, it willdoes not affect the availability of the main fileset.Fileset. However,If ifthat itdependency returns 220,220, the dependenciesdependency willfails fail soand the main filesetFileset willis not be available in Kiosk.
Dependencies
- If the main
filesetFileset isatin"Skipped"the Skipped state, its dependencieswillare stillbeprocessed and installed. - If a dependency is
atin"the Requirements Not Met: Will NotRetry",Retry state, that status does not propagate up the dependency tree.This means the installation of theThe mainfileset willFileset stillfailfailsduebecausetoafailedrequirementrequirements,failed, buttheitmain fileset will simply beis reported asDownload/Activation/Updateaofdownload, activation, or update failure for the dependencyfileset failure.Fileset.
Other scripts
WheneverWhen a requirements script returns 210 or 220,220, the filesetFileset doesis not get installed, so other types of scripts (preflight, activation, etc)and willother later script types do not berun. executed. Only in caseIf the requirements scripts are run again later and theyreturn change,values thenthat allow installation, the fileset might get installed and in that case other script types of scripts will get run as usual.
Inventory
- Filesets in
"Skipped"Skipped status are reported toinventory,inventorylikeasifthough they wereactuallyinstalled. - Filesets in
"Requirements Not Met: Will NotRetry"Retry status are not reported toinventory at all.inventory.
Common admin searches for this behavior include "Fileset skipped", "requirements script 210", "exit code 220 will not retry", and "why did my Fileset not appear in Kiosk".