The 'invalid distance too far back' error indicates that the MATLAB installer is encountering an error when installing a specific file, which is usually mentioned in the error message text.
Try the following steps to resolve the error:
1. Temporarily disable any antivirus or security software that is running on the system.
The security software may be making a false detection which is preventing a specific file from being installed; this disrupts the installation process. Even if a detection is not logged in your security software, the act of scanning the file may delay the installation of that file long enough to disrupt the installation process.
If you are running Windows, you should also try restarting the system into Windows Safe Mode with Networking. This will prevent any programs that may be interfering with the installation from starting at Windows boot.
2. If the installation files are being accessed from a remote location, try copying them to the local hard drive of the system where you are performing the installation.
Installing from a remote location can cause installation errors if the network connection is disrupted during the installation process. Installing from a remote location can also sometimes cause unzipping errors. Copy the installation files to the local system before starting the installation.
3. Re-download the installation files.
If you are installing from a set of installation files provided to you by your license administrator, there may be a problem with the installation files. Re-download the installation files, or have your administrator re-download them and provide them to you again. Make sure you copy the installation files to your local hard drive and disable any antivirus or security software before starting the installation