Greetings all,
I'm attempting to kick off an upgrade of OS 10.11, and the way I'm going about seems to allow me to do it automatically, if I can just get a script to pass 2 keystrokes to kick off the installer. I'm wondering if any one has tried this/figured out if this is possible, I been trying, and I can't quite get over the hump.
I've created a package in Composer that installs the "Install OS X El Capitan.app" into the tmp folder. I found that if I call this Unix Executable:
/private/tmp/Install OS X El Capitan.app/Contents/Resources/startosinstall
like this:
sudo /private/tmp/Install OS X El Capitan.app/Contents/Resources/startosinstall --applicationpath /private/tmp/Install OS X El Capitan.app --volume /
it will kick off the installer, and upgrade a 10.10 system.
My hang up is that after running my command the Terminal is prompted for the license agreement, where you have to type "a" and then the "return" key.
I've tried scripting this (osascript command, a shell script, and executable AppleScript), but I'll confess I only ever script out of necessity and that isn't too often.
I think that an executable shell script with everything in it would do the trick, but I'm wondering if any more savvy folks out there could help me get there a bit quicker.
Any assistance would be greatly appreciated.
Many thanks!
