Script to install macOS High Sierra DP-5 (17A330h)

I wrote a new handy script ( to install macOS High Sierra Beta DP-5.

The installer.pkg created by the script will simulate the App Store download and installation method, and all you have to do is:

1.) Run
2.) Run /Applications/Install macOS High Sierra
3.) Reboot

Notes: I have yet to try this script myself – I cannot download the files right now (we’re still at sea). Also. You may want to run in single-user mode.

Edit: First confirmation per e-mail. Script is working!

Please note that the App downloads files to: /Library/Updates but the script uses: /tmp/091-26416 and all the downloaded files will be gone after a reboot and thus you may want to make a backup of the files!



4 thoughts on “Script to install macOS High Sierra DP-5 (17A330h)

  1. Hi there, it’s me again!

    Saw that you had released an updated version of the script for DP5, so we gave it a shot, as well.

    We’re seeing a different problem than the DP4 script. On a machine running 10.12.6, we kick off the script and it gets through the downloading of all the components, but when it tries to run the installer, it fails with the following error(s):

    Creating installer.pkg …
    productbuild: Wrote product to installer.pkg
    Running installer …
    installer: Cannot install on volume / because it is disabled.
    installer: ERROR_004301F002

    I can’t find any reference to this error anywhere. The “Cannot install on volume /” error is a fairly common error I’ve seen before, but it’s also fairly generic in that it simply means the volume doesn’t meet the requirements of the installer.

    Any thoughts?

    • That error may be about /System/Library/CoreServices/SystemVersion.plist Try something like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
      <plist version="1.0">
      	<string>1983-2017 Apple Inc.</string>
      	<string>Mac OS X</string>

      Edit: But with anything above 10.8 that should not be a problem. I also cannot find the error in: OSInstall.mpkg Might be something in OSInstaller and companions.

      Did you check /var/log/install.log?

      Edit-2: Got it.

      function VolumeCheck(prefix) {
      	if (system.env.OS_INSTALL == 1) return true;
      	var myTargetSystemVersion = ( || system.files.plistAtPath( + "/System/Library/CoreServices/SystemVersion.plist"));
      	my.result.message = system.localizedString('ERROR_ABA5BBB51F');
      	if (!ManagedPolicyCheck0( || !LogicalOr1( {
      		my.result.type = 'Fatal';
      		return false;
      	return true;
      function ManagedPolicyCheck0(prefix) {
      	if (typeof(my.result) != 'undefined') my.result.message = system.localizedString('ERROR_004301F002');
      	var managedPolicyPlistPath = '/Library/Managed Preferences/';
      	var managedPolicyPlistKey = 'AllowPreReleaseInstallation';
      	try {
      		if ((system.files.plistAtPath(managedPolicyPlistPath)[managedPolicyPlistKey] == false) || (system.files.plistAtPath( + managedPolicyPlistPath)[managedPolicyPlistKey] == false)) {
      			return false;
      		} else {
      			return true;
      	} catch(e) {}
      	return true;

      You should never get there. Not with my scripts because it sets: export __OS_INSTALL=1

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s