MATLAB Answers

When running the MATLAB installer why do I see the error "Unable to locate required installation files"?

3 944 views (last 30 days)
When I enter the File Installation Key or select my license and confirm my installation settings, I receive an error that MATLAB is unable to locate the required installation files, or I see that some of my products are missing.
How do I fix this issue?
In MATLAB R2014a and earlier, the error is "There are no products available to install from this location."

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Apr 2020
Edited: MathWorks Support Team on 21 Apr 2020
This error can be caused by any of the following issues:
  • You have not downloaded all of the correct installation files.
  • The installation files are not in the correct location.
  • Your license does not contain the product you are trying to install.
  • You are not using the correct File Installation Key.
R2014a and later:
Starting with MATLAB R2014a, when downloading from the website, you will no longer be asked which products you want to retrieve, but will instead be provided with a copy of the base MATLAB Installer.
You must download and run this MATLAB Installer selecting the "Log in with a MathWorks Account" option to download your remaining product installation files.
The remaining product installation files must be downloaded by the Installer before any installation can be completed with a File Installation Key (FIK). This includes all normal installations on offline machines, and all silent installations that incorporate the installer_input.txt file.
If you are running the MATLAB installer and selecting the first option "Log in with a MathWorks account" but receive an unable to connect error, please see the following link.
Why do I get a connection error when installing or activating MATLAB?
If you are installing MATLAB offline with the File Installation Key, and the products are missing, make sure you have the correct key. For instructions on obtaining a new File Installation Key, see this related article:
Where can I find the Activation Key or File Installation Key (FIK) for my license?
If you try to install prior to the download of these additional product installation files, your install may be missing products or display a 'unable to locate required installation files' error message.
To resolve this issue, an Administrator should run the installer from an internet-connected machine, and choose the appropriate GUI option to download the installation files. The Administrator can then send you the installation files to use with your File Installation Key on an offline machine.
Alternatively, the Administrator could provide you with an ISO image to use for installation. Instructions on how an Administrator can download the ISO for your release can be found here:
How do I download the MATLAB .ISO image?
R2013b and earlier:
Windows:
If you have downloaded the installation files, make sure there is a corresponding .zip file for each product (ex: MATLAB78.zip for MATLAB). If you are missing the .zip files for any product or if the .zip files have been extracted, the installer will not list those products to install. This issue could also be the result of a corrupt or incomplete download of that .zip file. In any case, you will need to obtain a copy of the .zip file for the product you wish to install in order to install it, and those files must be placed into the same directory where the installer itself resides, or was extracted to.
NOTE: Starting as of MATLAB R2010b, there are two files for each product. You will need the .common file as well as the 32/64-bit file (win32/win64).
If you are installing online (R2008a and higher) through your MathWorks account, and you are installing through the DVD or if you have the correct downloads, there could be an issue with products on the license. In this case, contact Customer Service to have the license verified.
If you are installing MATLAB with the File Installation Key, and the products are missing, make sure you have the correct key. For instructions on obtaining a new File Installation Key, see the Related Article:
Where can I find the Activation Key or File Installation Key for my license?
If you are installing MATLAB R2007b or below, make sure you have the most up to date installation key for that release of MATLAB. If you require a new key, contact Customer Service.
In rare occasions, this issue can occur if there is not enough free space on the primary hard drive. If the drive is full, try emptying some space and relaunch the installer.
Mac:
This error typically occurs for two reasons: either the requested installer archives were not found inside the installer folder, or the file installation key used does not match the available product archives.
If you used the Download Agent to download the MATLAB installer, then the problem likely lies with the file installation key you provided. Confirm the file installation key is accurate, or alternatively, return to the first screen and select "activate online using the internet" if an internet connection is available. If you activate online, then the correct file installation key is retrieved automatically.
If you were unable to use the Download Agent, then you need to confirm that the installer archive files are present and still in .zip format. With a manual download, the installer is downloaded separately from the installer archive files. The installer is the very first file in the list of files on the manual download page. Every other file is the installer archives.
Download and extract the first file, which contains the installer itself. Then, download the other files, and place them inside the extracted installer folder. Do not extract the installer archives. Please note that the installer archives are .zip files and not folders. If you are seeing folders instead of .zip files, then you will need to disable Safari's "Open Safe Files" feature to proceed:
  • Open Safari
  • Go to the Menu bar at the top of the screen.
  • Choose Safari -> Preferences -> General
  • Uncheck "Open Safe Files After Downloading"
This will allow you to download the files without them being automatically extracted. If Safari has already automatically extracted the installer archives, then you may be able to find the .zip files in your trash can.
Note: You must restart the installer in order for it to recognize these new files. If the installer is open, please close it and run "InstallForMacOSX" again once these files are in place.
It is also possible that the installer files for your products are corrupt or missing, or the license file that you have does not include those products. The easiest way to resolve this is to download the files again, and run the installation again.
Linux:
If you have downloaded the installation files, make sure you have all of the files required for installation of that product. On UNIX and Linux, the downloads are setup as one of the following:
  • A single file for the toolbox, named "tbx.{name}" (where is a shortname for the toolbox)
  • Two files for each product, one that ends with ".common" and another one that ends with .$ARCH" where $ARCH is the architecture specific file for the installation).
For example, installing MATLAB on 32 bit Linux requires matlab.common and matlab.glnx86. If you have only one of the two files required, the installer will not be able to install the product. In that case you will need to download the other required file.
If you are installing online (R2008a and higher) through your MathWorks account, and you are installing through the DVD or if you have the correct downloads, there could be an issue with products on the license. In this case, contact Customer Service using the link below to have the license verified.
If you are installing MATLAB R2007b or below, make sure you have the most up to date license file for that release of MATLAB. If you require a new license file, contact Customer Service.
If you have the correct files and installation codes and the installer still does not list the product(s), contact Installation support. You can contact Customer Service and Installation Support via the MathWorks website here:

  9 Comments

Show 6 older comments
yoshi nishio
yoshi nishio on 23 Jun 2020
Hi,
What is the correct location for the "licence.lic" file?
According to the error message, it should be where the install bash script is. And in my case, I have put it there...
I'm working with Linux (Manjaro and Gnome)
Thanks for your help

Sign in to comment.

More Answers (11)

Mitzi Boswell
Mitzi Boswell on 4 Apr 2017
Edited: Rena Berman on 8 Oct 2020 at 15:56
I have been trying to install matlab for going on 2 weeks now. I did all this and it still doesn't work! Now it say there is an issue with the license associated with this machine, sends me to another of these q&a and I still can't get anything to work.

  4 Comments

Show 1 older comment
Pasquale Dell'Aquila
Pasquale Dell'Aquila on 22 Apr 2017
I too can not install a "recently purchased" Matlab&Simulink Suite. This is a fresh install on a workstation which has no previous version. I am not interested in a refund. My need to install and use this suite is not optional. It must work. I submitted a service request get some help.
Walter Roberson
Walter Roberson on 23 Apr 2017
The number of possible system configurations is immense. Mathworks describes all the most common problems, but they cannot list everything.
A service request is the right way to go for something like this.
I hit an interesting one the other day: one of the support packages was failing to install because my OS-X filesystem is set to case sensitive, which is something they had not anticipated.
Walter Roberson
Walter Roberson on 8 Oct 2020 at 21:56
Ilya Topper comments
I face the same problem when silently installing 2020a on debian. I follow the instructions and it just doesn't work! (Sep 02, 2020 09:42:19) Missing Installation Files: Unable to locate the required files. To use a File Installation Key, you must run the installer from a directory that contains the installation files. For information on how to get the files, see this MATLAB Answer. at com.mathworks.install_core_common.MATLABInstallerExceptionUtil.getApplicationException(MATLABInstallerExceptionUtil.java:16)

Sign in to comment.


Manoj Kumar
Manoj Kumar on 23 Aug 2019
1.jpg
I am facing an error in installation of trial pack of Matlab19b. Kindly look into this issue and reslove it.

  0 Comments

Sign in to comment.


Fidele Lanchery Damba-Ngolo
I'm installing Matlab 2013a, for the actvation section I'm getting this message : error 3 093: The school country code is not a valid selection. What should I do ?

Maria Amerikanou
Maria Amerikanou on 19 Oct 2017
hello, I'm trying to install matlab and I get the error finding installer class an exception occured while looking for class. What should I do??

  1 Comment

Kyle Perry
Kyle Perry on 2 Nov 2017
Hi Maria,
The error you are experiencing is usually caused by non-ASCII characters in your path/username. I have attached a link below that explains this error and how to resolve it in more detail.

Sign in to comment.


Prashant
Prashant on 11 Nov 2017
On Windows, you may need to run the MATLAB Installer as Administrator (right-click on the Installer and choose 'Run as Administrator') to not get this error.

  0 Comments

Sign in to comment.


Cheuk Lun Charles Lee
Cheuk Lun Charles Lee on 11 Feb 2018
Edited: Cheuk Lun Charles Lee on 11 Feb 2018
Can someone help me?
I am installing an update (R2017b, update 4) but it also pops up this fetal error.
My OS is Linux, I am not sure if I launch the update by a correct command. I cannot launch it by entering the command suggested by MATLAB, but replace ./ with "sudo sh". https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/updates/r2017b/r2017b-updates-install-instructions.pdf
It then asks me the directory Please specify MATLAB installation directory [/usr/local/MATLAB/R2017b]
However, my MATLAB is not installed in usr but another file. Even I place the install file (R2017b_Update_4_glnxa64.sh) in the same file with R2017b, and simply press enter for the directory, the fetal error comes out.
(I am not asked for any installation key or activation key. I am not sure if this should be asked when installing an update)

  0 Comments

Sign in to comment.


Maria Antoaneta Bratescu
Maria Antoaneta Bratescu on 22 Feb 2019
I tried 10 times to acctivate the Trial version. I do not know how to do.
I bought the activation key.
I got the same Error message.

  0 Comments

Sign in to comment.



Pierre Siaka
Pierre Siaka on 13 Mar 2020
Hi,
I'm in trouble with Matlab, yesterday was try to update my software and my labtop has shut down.
Following the instructions I tryed to reinstall or to uninstall before reinstallation, but I still got the same message.
Pierre.

  0 Comments

Sign in to comment.



Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!