2016b - How to install both DVDs silently?

Hi,
In previous versions of MATLAB, there was one ISO file, and the initialization file for silent installation was pretty straight forward.
Today I went to download 2016b, and noticed there were two DVDs. Thinking one is the main installation, and the second was extras, I downloaded both and setup the initialization file in DVD1 (did nothing with DVD2), and ran the Linux install script for a silent install like I normally do.
At the end of the end of the script, "Info: Eject DVD 1 and insert DVD 2 to continue." popped up thousands of times in my terminal window, and would have continued indefinitely had I not killed the process.
Thanks to the constantly repeating "Info: Eject DVD 1 and insert DVD 2 to continue." message, in the 30min I stepped away from my computer to let the install finish, the log file for the installation grew to 3.9GB, which is ridiculous. That kind of log file growth could bring down a system by using all the free space on a drive in a very short time.
With all that now said, how do we perform a silent installation of 2016b if two DVD/ISO files are required? And what is the second DVD? The readme in DVD1 doesn't mention DVD2, and DVD2 has no readme.
Thanks, Ron

5 Commenti

Hi Ron, I came across the same issue. I searched for hints but to no avail. Give this ago.... Mount DVD1 and copy contents to a folder. Notice the .dvd1 at the root of the extracted contents. Mount DVD2 and copy contents to the same locations in in the newly created folder. Notice the .dvd2. You'll need that .dvd2 to be at the same location (root) as .dvd1. Now you're ready to deploy. - Configure installer_input.txt - create a .bat script: "%~dp0bin\win64\setup.exe" -inputFile "%~dp0installer_input.txt" The reason I did not call the first setup.exe at the root of the extracted contents is because that setup.exe will call .\bin\win64\setup.exe and exit. Hope that helps.
The best part is that when you eject DVD 1 and insert & mount DVD 2 the install software doesn't see it. So, you are left in infinite install loop hell. The completion bar is sitting at a VERY annoying 98% done and I have wasted my time. I guess Matlab must not have tested this at all.
How about the dialog gives some sensible options... like continue on some other mount point? or maybe read the second DVD that is correctly mounted???
I am trying to setup MATLAB DCS and ... I don't know... maybe it's just me who doesn't want to install a cluster interactively from the very beginning. And I don't need videos explaining... yeah, the simple case that was written down purly anyway. That wouldn't be a problem if there would be... e.g. links to the silent install option page. After at least solving this puzzle -- thanks Google, without you we would still be depended on crappy docs -- I ran into the DVD loop.
But again, maybe I am just to ignorant or expecting to much: as I am not the license administrator and only got the two DVDs I expected to just copy them into one folder hierarchy. I would be happy to do otherwise, if the "how" would be approachable... findable, but no... that doesn't seem to be possible.
When I saw the documentation with a lot of screenshot, with a lot of steps just to obtain the software I hoped for another UX, but my fears have come true.

In Ubuntu, you can do it in the way it is meant to be.

  • Goto the location of the downloaded ISO files:
cd Downloads
  • Create a directory to serve as the mount location:
sudo mkdir dvd
  • Mount the dvd1 in the target directory:
sudo mount -o loop R2017b_glnxa64_dvd1.iso dvd/
  • Invoke the installation:
sudo ./dvd/install
  • Unmount the dvd1 and mount dvd2 in same directory:
sudo umount dvd/
sudo mount -o loop R2017b_glnxa64_dvd2.iso dvd/
ThanQ , this works for me

Accedi per commentare.

 Risposta accettata

Can Erik
Can Erik il 27 Ott 2016
Modificato: Can Erik il 27 Ott 2016
Just copy the contents of dvd2 to the same place as dvd1. There are only an "archives" folder and a .dvd2 file in the dvd2. Then run the setup.exe.

9 Commenti

"Just copy the contents of dvd2 to the same place as dvd1. There are only an "archives" folder and a .dvd2 file in the dvd2. Then run the setup.exe."
-This worked for me as well. Thank you
I am trying this but getting an error saying there is not enough space in the dvd drive. Did anyone else get this error? Should I just be copying the contents of the second dvd drive to the first?
that really work for me, just extract what dvd 1 and dvd 2 on the same location then it just work, there's no more pop-up message to eject dvd 1 and input dvd 2
Hello. It's working for me too. Thanks for the tip.
Zoltan Morgan
Zoltan Morgan il 3 Feb 2018
Modificato: Zoltan Morgan il 3 Feb 2018
Worked for me too. Thanks.
@AR you should copy all the contents from the dvds to a folder in the harddrive.
Worked for me. Thanks for the straightforward answer.
Tairan Liu
Tairan Liu il 19 Lug 2019
Modificato: Tairan Liu il 19 Lug 2019
This answer might be late. Just create a folder on your computer, then copy the contents in both DVDs to that folder. You cannot copy files to a DVD iso file.
mohsin abbasi comments:
Work for me also. Well done ?

Accedi per commentare.

Più risposte (10)

Kah Chun Tan
Kah Chun Tan il 24 Mar 2017
Solution for Mount disc 2 loop I scanned the Disc 2 image file with windows defender to let computer "know" that it is mounted. Then I clicked continue,so glad that it worked.

2 Commenti

Worked for me, thanks!! No idea why, though... But it was the only way to get out of the loop without cancelling the installation.
There should still be a menu to manually locate the drive in this case...
I was not having this windows defender. But i understand what is the problem adn solution.
My other solution was just right click Disc 2 and open with new window. Then continue the installation, it worked. :)

Accedi per commentare.

Huina Mao
Huina Mao il 26 Set 2017
Modificato: Image Analyst il 26 Set 2017

Hi, when you get "eject dvd1 and insert dvd2 to continue" do following:

  1. Change the folder "archives" in the folder "matlab_r2017a_win64_dvd1" to another name such as "archives2"
  2. Copy all the content from the folder ""matlab_r2017a_win64_dvd2" to the folder "matlab_r2017a_win64_dvd1".
  3. Go back to the the message box of "eject dvd1 and insert dvd2 to continue" and continue the installment.

3 Commenti

This worked. Thank you.
I got this error " Would you like to retry installing aeroblks_resources_common? If you press No, the installer will exit without completing the installation. More information can be found at C:\Users\admin\AppData\Local\Temp\mathworks_admin.log (The system cannot find the file specified)"
I got this error to .Can anyone help me?

Accedi per commentare.

Vincent Wang
Vincent Wang il 5 Ott 2016
I have seen your question.When you see that info,you should eject the DVD1 and load the DVD2.what's more,you should make sure that the letter you load is same as the last time.

2 Commenti

This does not help for silent unattended installations. Also, the documentation does not describe how to get around this.
nor does it help at all on regular installs. The install program goes into an infinite loop and does not see the correctly mounted DVD2.

Accedi per commentare.

Vincent Wang
Vincent Wang il 5 Ott 2016
and there is a file called _install_guide.pdf_in dvd1,you can read it.
Jan Studnicka
Jan Studnicka il 15 Ott 2016
Hi, there is an answer here:
You should download products (not ISO) for silent installation.

1 Commento

which, by the way is REALLY AWESOME when you are trying to install on a network that can't connect to the internet.

Accedi per commentare.

Charu Sharma
Charu Sharma il 19 Set 2017
Modificato: Walter Roberson il 20 Set 2017
Once dvd1 installation and it asks for dvd2, mount dvd2 in dvd1 folder. In ubuntu, you can use this command in terminal.
sudo mount -o exec R2017a_glnxa64_dvd2.iso R2017a_glnxa64_dvd1
(this is dvd1 folder)
Aditya  Akolkar
Aditya Akolkar il 20 Set 2017
i am getting error as " eject dvd1 and insert dvd2 to continue"
Muzammil Shahad
Muzammil Shahad il 20 Gen 2018

Works Perfefectly for myself. https://www.youtube.com/watch?v=RLET4zSj3u0

After downloading iso formats of both cd. cd1(around 7 GB) and cd2(arounf 2.5 GB), do the following steps: 1). Unmount CD1 and install that.
2). then it would ask you to eject cd1 and insert CD2 at this point you have to open My Computer and from there you have to eject CD1 by right clicking on it.(but rememeber the drive name)
3). Now unmount CD2(but be careful because the drive name for CD2 must match the drive name of CD1).
4). Now press OK on the pop up which was asking for inserting CD2.
Done. Now it should be installed.
That worked for me and i hope that would work for everyone.
Bhavin Shiyani
Bhavin Shiyani il 6 Ott 2018
Easiest way is extract dvd1 Iso file to "Dvd1" named folder, then extract dvd2 Iso to the same "Dvd1" folder and run the setup.

Categorie

Prodotti

Richiesto:

Ron
il 4 Ott 2016

Commentato:

il 28 Apr 2022

Community Treasure Hunt

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

Start Hunting!

Translated by