Unable to load product files. Product files must be in the same folder as the input file.
89 views (last 30 days)
Show older comments
Note: I am trying to install Matlab on the Ubuntu server which doesn't have desktop.
I can only use Ubuntu terminal.
I downloaded R2022a installer for Linux and unzipped it.
The path of directory was
/home/matlab_R2022a_glnxa64
I modified /home/matlab_R2022a_glnxa64/installer_input.txt
fileInstallationKey=xxxxx-xxxxx-xxxxx-xxxxx
licensePath=license.lic # I downloaded license file after activating the hostID
agreeToLicense=yes
I typed installation script in the directory: /home/matlab_R2022a_glnxa64
My installation script was
bash install -inputFile installer_input.txt
The log was
(Aug 09, 2022 15:54:07) Session key: xxx-xxx-xxx-...
(Aug 09, 2022 15:54:07) Product Files Folder: /home/matlab_R2022a_glnxa64/archives
(Aug 09, 2022 15:54:07) License Agreement validation is successful.
(Aug 09, 2022 15:54:07) Unable to load product files. Product files must be in the same folder as the input file.
For help getting the product files, see the installation documentation on
<a HREF="https://www.mathworks.com/pi_noprode_mpi_R2022a_glnxa64">MATLAB Answer</a>.
(Aug 09, 2022 15:54:07) Exiting with status -2
(Aug 09, 2022 15:54:07) End - Unsuccessful
In the /home/matlab_R2022a_glnxa64/archives, there are 2 folders
- /home/matlab_R2022a_glnxa64/archives
- common
- Network_License_Manager111621_common.zip
- glnxa64
- Network_License_Manager111621_glnxa64.zip
I couldn't find any useful solution yet from "MathWorks Support Team".
What is the "product files" in the log and where can I find it?
P.S.
I tried to install with ISO file.
But since the mounted directory of the ISO file was read-only, I could not modify installer_input.txt.
So, I failed with it as well.
6 Comments
Jingyu
on 3 Dec 2022
@Walter Roberson What are the install files I need to move? I met the same error when using zip to install MATLAB on the server.
(Dec 03, 2022 21:17:35) Product Files Folder: /opt/MATLAB/matlab/archives
(Dec 03, 2022 21:17:35) License Agreement validation is successful.
(Dec 03, 2022 21:17:35) Unable to load product files. Product files must be in the same folder as the input file. For help getting the product files, see the installation documentation on <a HREF="https://www.mathworks.com/pi_noprode_mpi_R2022b_glnxa64">MATLAB Answer</a>.
(Dec 03, 2022 21:17:35) Exiting with status -2
Daniil
on 16 Jan 2024
For those who still stuck here.
Go to ./archives and unzip everything in subfolders.
P.S. I don't know who wrote that log, but it ubolutely misleading...
Accepted Answer
More Answers (1)
Sadeep
on 4 Apr 2023
Edited: Sadeep
on 4 Apr 2023
For those who do not have an ISO file, I was trying to install R2023a on a Linux server and ran into the same issue. I'm using a trial licence. I first downloaded the default installer to a Linux machine and started the installer with the GUI (unzip the archive and run `./install`), then as I proceeded through the installation, at one of the steps, I chose to download files without installing it on my machine. There you get to pick your products and download those "product files" default installer complains about.
These files that you download comes with "archives", install script and input files, etc. I copied the whole directory that I downloaded to to the server where I want to install MATLAB and followed through the non-interactive installation process:
- Create your input file in the "archives" directory you just copied;
- Run `./install -inputFile archives/installer_input.txt` from the directory where the install script is (which is one level above "archives").
1 Comment
Sarthak
on 7 Jul 2023
I don't see any option to just download the files, and where did you find the installed files ?
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!