Unable to load product files. Product files must be in the same folder as the input file.
50 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
8 commentaires
Walter Roberson
le 12 Sep 2024
Same. "same folder" error is gone, and now Seg fault...
Réponse acceptée
Plus de réponses (1)
Sadeep
le 4 Avr 2023
Modifié(e) : Sadeep
le 4 Avr 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").
3 commentaires
Aiden
le 23 Oct 2024
Just a comment on this. After downloading the files I had two versions of the archives folder. One in the same directory as the install file and one in the dir above that.
I swapped the two archive files, as the initial one seems to be default and it worked.
Also for anyone in future with the same question as @Sarthak you can find these instructions in the pdf ( mathworks_installation_help.pdf) under the subheading "Download Installer and Product Files"
Denis
le 17 Fév 2025
I can confirm that to have it working for me I also had to merge both "archives" directories : the one included in the zip file and the one that is also downloaded by the installer
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!