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
Please describe how the script was run. [e.g. Standalone via Terminal, in Jamf Policy from the uploaded pkg, in Jamf policy from uploaded script only, via another MDM provider]
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.
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