Skip to content
Zack McCauley edited this page Feb 16, 2018 · 2 revisions

There are currently three stages to InstallApplications. Through correct utilization of these stages, you can have almost instant UI notifications for your users.

The stages are:

preflight

This stage is designed to only work with a single root script. This stage is useful for running InstallApplications on previously deployed machines or if you simply want to re-run it.

If the preflight script exits 0, InstallApplications will clean up/remove itself, bypassing the setupassistant and userland stages.

If the preflight script exits 1 or higher, InstallApplications will continue with the bootstrap process.

setupassistant

Packages/rootscripts that should be prioritized for download/installation and can be installed during SetupAssistant, where no user session is present.

userland

Packages/rootscripts/userscripts that should be prioritized for download/installation but may need to be installed in the user's context. This could be your UI tooling that informs the user that a DEP workflow is being used. This stage will wait for a user session before installing.

Notes

InstallApplications will only begin installing userland when a user session has been started. This is to reduce the likelihood of your packages attempting to start UI elements during SetupAssistant.

Introduction

Building Blocks

Supported MDMs

MDM Bugs

Troubleshooting

Clone this wiki locally