Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove preflight stage login window assumption #30

Merged
merged 2 commits into from
Feb 2, 2018

Conversation

jacobfgrant
Copy link
Contributor

Removes the code that checks for the login window when executing the preflight stage of installapplications.py, and updates the README to reflect this change.

Previously, if the preflight stage were run at the loginwindow, installapplications assumed it was running on a new machine. While this assumption may hold for certain workflows, certain MDM setups or workflows may include sending the InstallApplication MDM command to a device at the loginwindow, which would automatically skip the preflight and it would sit there until next user logged in. This may result in unintended DEPNotify runs and/or logouts/restarts for users with previously deployed and configured machines. This assumption has been removed to instead allow the preflight script to handle this logic.

Removes the code that checks for the login window when executing the
preflight stage of installapplications.py, and updates the README to
reflect this change.

Previously, if the preflight stage were run at the loginwindow,
installapplications assumed it was running on a new machine. While this
assumption may hold for certain workflows, certain MDM setups or
workflows may include sending the InstallApplication MDM command to a
device at the loginwindow, which would automatically skip the preflight
and it would sit there until next user logged in. This may result in
unintended DEPNotify runs and/or logouts/restarts for users with
previously deployed and configured machines. This assumption has been
removed to instead allow the preflight script to handle this logic.
@erikng
Copy link
Member

erikng commented Jan 24, 2018

Knew this would be super simple. Can you do me one favor and update the example JSON on the readme with the preflight, and explicitly on the script make the donotwaitkey false?

@jacobfgrant
Copy link
Contributor Author

How's that?

@erikng erikng merged commit 858fec3 into macadmins:master Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants