There is a way to get the OS installer into an installer packageBuild installer package which installs Install OS X.appComponents:Install 10.12.app (added to Scripts directory or installed somewhere on the filesystem.)postinstall scriptThe command line tool to call is startosinstallpostinstall script would call startosinstall and install Install 10.12.app using the startosinstall tool.Note: The startosinstall tool uses the same logic that the GUI app.Usage: startosinstall --applicationpath <install os x.app path> --volume <target volume path> Arguments --volume, a path to the target volume. --applicationpath, a path to copy of the OS installer application to start the install with. --license, prints the user license agreement only. --agreetolicense, agree to license the license you printed with --license. --rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes). --pidtosignal, Specify a PID to which to send SIGUSR1 upon comp
0
0
4.6k