grahampugh / erase-install

A script that automates downloading macOS installers, and optionally erasing or upgrading macOS in a single process. Watch the video!
https://grahamrpugh.com/2023/05/14/macaduk-presentation-eraseinstall.html
Apache License 2.0
845 stars 132 forks source link

erase-install (29.1) - Reboot Delay Message/Countdown Dialog #377

Closed jlloydroberts closed 1 year ago

jlloydroberts commented 1 year ago

Describe the bug During the preparation phase in the --reinstall workflow a user dialog appears, letting the user know that the installer is being prepared. If the 'Ok' button is selected here then when the --rebootdelay initiates, a new dialog doesn't appear with the countdown in seconds to let the user know that a reboot is imminent.

To Reproduce

These are the parameters used when running the 'Update' script: --move --version=12.6.3 --current-user --reinstall --check-power --power-wait-limit=180 --rebootdelay=280

We have a separate policy running prior to this using the same version of erase-install which caches the installer on the device.

This policy uses the below parameters:

--move --version=12.6.3 --update

The script is run in a JAMF policy from the uploaded script.

Expected behavior I would expect that regardless of if a user selects 'Ok' in the preparation dialog, a new dialog would appear to show the rebootdelay in seconds, and to notify the user to save their work.

Code/log output Log attached.

Screenshots Screenshot attached. This is where I click the 'Ok' button.

Environment:

Additional context erase-install.log Image (1)

grahampugh commented 1 year ago

I cannot reproduce this. In my tests the reboot delay window does popup. Are you still seeing this?

grahampugh commented 1 year ago

Close due to lack of response from original requester.