How to Fix An Error Occurred While Preparing the Installation on Mac

An error that says “An error occurred while preparing the installation. Try running this application again” usually shows up when you’re installing macOS or using recovery mode, especially if the progress bar stops for a while. This message means the installer couldn’t check some important things needed to continue. Most often, the problem is because the system date and time are wrong, or the version of macOS doesn’t match what’s needed.

An Error Occurred While Preparing The Installation

The most common reason is the date on your Mac is incorrect—this often happens when recovery mode sets the date back to something like 2001 or 2017. Other possible causes are expired installer certificates, damaged installation files, or using an old version of the macOS installer.

Now that you know what can cause the error, let’s go through the steps to fix it. Remember, as mentioned earlier, sometimes a simple restart is enough, so try restarting your Mac before moving on to the next steps. If the error keeps showing up even after a reboot, continue with the methods below.

1. Change Date and Time

When you install or upgrade macOS, the installer connects to Apple’s servers. These servers check that your Mac’s date and time are accurate. If the settings are wrong, the connection is blocked, and you get the error message. To fix this, you’ll need to set the correct date and time before trying the installation again.

There are two ways to do this. If you can use your Mac normally, you can update the date and time from System Preferences.

  1. Open the System Preferences window from the Apple menu.
  2. Go to the Date & Time option.
  3. Select “Set date and time automatically” and make sure the correct region is chosen from the drop-down menu.
    Changing Date and Time
  4. Once you’ve updated the date and time, restart your Mac and try the installer again to see if the problem is fixed.

If you can’t start up your Mac as usual, don’t worry—you can still change the date and time from macOS Recovery. Follow these steps:

  1. Power off your Mac.
  2. Turn it on and immediately hold down the Command + R keys.
    Accessing macOS Utilities
  3. Keep holding the keys until you see the Apple logo on the screen.
  4. Let go of the keys. Your Mac will start in macOS Recovery.
  5. On the macOS Utilities screen, click the Utilities option in the menu bar.
  6. From the drop-down menu, choose Terminal.
    Accessing a Terminal
  7. When the Terminal window opens, you can change the date and time settings here.
  8. If your Mac is connected to the internet, type the following command to set the date and time automatically:
    ntpdate -u time.apple.com
  9. If you’re not connected to the internet, you’ll need to set the date and time manually. Use this command format:
    date [mm][dd][HH][MM][yyyy]
  10. That means month, day, hour, minute, and year. Enter it without spaces, like this:
    date 0518171215
    Changing Date and Time From Terminal
  11. To check, just type the date command and see if the date and time are correct. Once done, you can close Terminal.
  12. Now, try running the installer again to see if the error is gone.

2. Use macOS Recovery

Another way to solve this problem is with macOS Recovery. When you start your Mac in macOS Recovery, you have options to install different versions of macOS, depending on which keys you hold down. Here are the key combinations you can use—pick the one that suits your needs:

  1. First, turn off your Mac.
  2. Turn it back on, and as it starts up, use one of these key combinations:
  3. Command + R: Reinstall the latest version of macOS that was installed on your Mac.
  4. Option + Command + R: Upgrade your Mac to the latest version of macOS that is compatible with your device.
    Mac Keyboard Combination
  5. Shift + Option + Command + R: Use this combination to reinstall the macOS version that originally came with your Mac, or the closest version still available.
  6. Follow the prompts and click Reinstall macOS to continue the installation.
    macOS Utilities

3. Download Installer Again

If none of the above methods fix the issue, it’s possible that the installer you’re using is corrupted or incomplete. This happens sometimes if the download is interrupted. The best solution here is to delete the existing installer from your Mac, then download a new installer from the official source. Once you have a fresh installer, try the installation process again—this should solve the problem.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.