I have an AppleScript that I am using to install High Sierra from a disk image. I would like to display a progress bar (just to show work is being done, not to show how far along the process is.
I had tired making my own progress bar using apple script, but it keeps running and then will not let the shell script run. Here is my shell script
display dialog "Please Make Sure You Have Installed the FirmwareUpdateStandalone Package on the Computer Before You Continue"
display dialog "Click Ok to Install macOS High Sierra"
set thePassword to "password" as string
do shell script ¬ "sudo asr restore -s /Users/macadmin/Documents/10.13.2.apfs.dmg -t /dev/disk0s2 --erase --noprompt" password thePassword with administrator privileges
do shell script "diskutil mount /dev/disk1s1"
display dialog "High Sierra has been Installed. Go to Startup Disk in System Preferences and select the Macintosh HD as the Startup Disk and Restart"
quit