When installing the MinGW Support Package, I see the following error:
There was a problem installing the third-party software. To resolve this issue, contact Technical Support
I also see the following inside of my MATLAB installer log file:
How can I proceed with installing this Support Package?
This error was due to incomplete third-party downloads through the MATLAB Support Package installer. This issue has since been resolved. The current solution is to download and install the MinGW Support Package through the MATLAB client using the following method:
How to install MinGW 4.9.2 for use in MATLAB?
This is the response from mathworks with instructions that worked for me. The other instructions here did not.
Thank you for this followup information. I think there may be some confusion with the workaround instructions, as you should not need to rename any files or folders during this process. Once you have downloaded the 5 zip files, they need to be placed in the following folders found at C:\Users\<your_username>\Downloads\MathWorks\SupportPackages\R2016b\archives\3p:
Once the zip files are placed in each of these folders, you need to run the same MinGW support package installer again (from Add-Ons Explorer). The installation will now proceed and skip over the section where it needs to download third-party files.
I'm currently getting this error when trying to install via the steps above...
"There was an error installing third-party software for Support Package mingw: C:\MATLAB\SupportPackages\R2016a\downloads\mingw_download does not contain archives for third-party software used by the support package.
To continue with support package installation: Use "Install from Internet" or Use "Download from Internet" to download the complete set of files, and retry installing from folder."
Any insights on how to fix this?
I have copied the 5 zip files in the folder, as mentioned by the MATLAB support team. After that, i run the the "mingw.mlpkginstall" MATLAB support package installer. I still see the error.
I have a question here, that when I run the package installer again, does it replace the files i copied in the folder. Because, it again downloads all the files (not sure what happens to files I copied). - Is that an issue? - How to directly install the files, without downloading them again? (Package Installer downloads them again)
Problem: Unable to install MinGW through Add-on Explorer in Matlab R2017a (fresh install of Matlab and Windows7).
In my case, the description above was causing some misunderstanding because these steps deviated slightly from the actual required workflow.
FOR ME THE PROBLEM IS SOLVED after doing the following procedure:
1. Try to install through 'Get Add-ons' in Matlab 2017a
2. Resulted in a Download error: There was a problem downloading the third-party software. To resolve this issue, contact Technical Support
3. Downloaded all files as described by Mathworks support team: https://uk.mathworks.com/matlabcentral/answers/313286-why-do-i-see-a-java-util-zip-zipexception-error-in-my-installer-log-file-when-i-try-to-install-the
4. It is stated that the installation process has already created some folders in: “C:\Users\_<username>_\Downloads\MathWorks\SupportPackages\R2016b\archives\3p\<name_of_archive>\”
However, these folders did not exist in my case. On the contrary, some zip-folders are created in a different location; "C:\Users\_<username>_\Downloads\MathWorks\SupportPackages\R2017a\archives\win64\3p" The folder naming of these folders does comply the description as stated before; "The name_of_archive would be one of the following and where xxxxxxxxxx is a string containing numbers.e.g.: tdm_MinGW64runtime.instrset_win64_xxxxxxxxxx"
So I decided to use the names of these zip-folder in the following steps
5. I created a new 3p folder in "C:\Users\_<username>_\Downloads\MathWorks\SupportPackages\R2016b\archives\" and created 5 new folder inside 3p that have the same name as the zip-folder in "C:\Users\_<username>_\Downloads\MathWorks\SupportPackages\R2017a\archives\win64\3p"
6. Then I placed the 5 archive folders from point 3 in their corresponding folder:
binutils-2.24.51-20140703-tdm64-1 --> copy to archives\3p\tdm_mingwbinutils.instrset_win64_1487954571
gcc-4.9.2-tdm64-1-c++ --> copy to archives\3p\tdm_mingwcpp.instrset_win64_1487954573
gcc-4.9.2-tdm64-1-core --> copy to archives\3p\tdm_mingwgcc.instrset_win64_1487954592
gdb-7.8.1-tdm64-3 --> copy to archives\3p\tdm_mingwdebugger.instrset_win64_1487954574
mingw64runtime-v3-git20141130-gcc49-tdm64-1 --> copy to archives\3p\tdm_mingw64runtime.instrset_win64_1487954589
7. Retry to install through the Add-on Explorer
I hope this helps you to solve the problem.
The reason this is happening is because SourceForge redid their web structure. The Matlab downloading tool isn't respecting their 302 status code.
If you open the 1kB 'zip' files with Notepad++ (or any other text editor) you will see something like this:
<html> <head> <title>302 Found</title> </head> <body> <h1>302 Found</h1> The resource was found at <a href="https://iweb.dl.sourceforge.net/project/tdm-gcc/MinGW-w64%20runtime/GCC%204.9%20series/mingw64runtime-v3-git20141130-gcc49-tdm64-1.zip">https://iweb.dl.sourceforge.net/project/tdm-gcc/MinGW-w64%20runtime/GCC%204.9%20series/mingw64runtime-v3-git20141130-gcc49-tdm64-1.zip</a>; you should be redirected automatically.
The fix should be as simple as either:
For those downloading the files manually, make sure to delete the existing 1kB files. Windows will sometimes automatically just rename the files with (1) at the end instead of asking if you want to replace the existing files.
Followed the steps outlined by the support team (windows 10, matlab r2016b), and it worked! Thanks a lot!
not working. still have the third party package error after replacing the zip files
I ended up on this page after failing to create an Excel Add-In using Matlab Compiler 2016a. It turns out MinGW is not a supported compiler for Excel Add-Ins, contrary to the log file error. See compatible compilers here:
For those trying to get the Excel Add-In working, the freely available Windows SDK 7.1 will work . I ran into some issues for me on Windows 10 using Microsoft's web-based installer file (the small file that will trigger a download for missing/desired components) however, I found success following the approach described here, where you download the .ISO:
is there anyone could show how to solve the problem from Mathwork Support. Do not ask everyone to ask for Mathwork Support.
If you follow this instruction, the only reason that you still have the same problem before is that the downloaded zip files are not complete. To check this, you should open the zip files to see whether it can be unfolded. If yes, I guess you probably can succeed. This is how I fix the problem.
I use R2015b and this work for me. First I copied all zip files to the folder "C:\MATLAB\SupportPackages\R2015b\downloads\mingw_download" and renamed the files as the instruction said but it still got error. Then I delete all zip files and copied them again without renaming and it worked. Hope this help!
I tried to follow all the steps that mentioned here, but unfortunatly I have problem of installing the support package and it gives me an error. my matlab is matlab 2016b. what should I do? anybody tries this instruction for matlab 2016b?
It is ridiculous that after MONTHS the Matlab installer is still not fixed for this.
无法重新加载 'D:\Program Files (x86)\matlab\bin\win64\libmwsimulink.dll'