Why does MATLAB R2015a - R2017a fail silently on Windows 10 when updating file associations?

111 views (last 30 days)
Why does MATLAB R2015a - R2017a fail silently on Windows 10 when updating file associations?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Oct 2021
Edited: MathWorks Support Team on 28 Oct 2021
The installation process for MATLAB crashes silently during the post-installation steps on Windows 10 Builds 1809 and later. This results in an incomplete installation of MATLAB products. Some of the symptoms of this incomplete installation include the following:
  • MATLAB did not go through an activation process, instead requiring you to go through activation when first starting up MATLAB.
  • MATLAB uninstaller is not registered, and MATLAB is not found under the list of applications that could be uninstalled via Windows Settings utility (Windows Settings -> Apps -> Apps & features).
  • Some of the MATLAB and Simulink file types (e.g., MATLAB file, MAT-file, Simulink Model file) might not be properly associated with appropriate MathWorks products.
If you are unsure of what version of Windows you are using you can run the following command in a Windows command prompt.
winver
Workaround for R2015a and R2015b
To work around this issue for R2015a and R2015b, use the following steps:
  1. Download the zip file attached to this article. Please download the version associated with your release. It contains a file called libmwwinreg.dll.
  2. Navigate to \bin\win64\libmwwinreg.dll in your MATLAB installation files. These installation files are the ones used for offline installation.
  3. Replace the file existing libmwwinreg.dll file with the new file and run the installer.
If you require the offline installation files, please refer to the article below for more information:
How can I get MATLAB installation files for use on an offline machine?https://www.mathworks.com/matlabcentral/answers/259632
Workaround for R2016b - R2017a
To work around this issue for R2016b-R2017a, use the following steps:
  1. Download the zip file attached to this article. Please download the version associated with your release. It contains a file called libmwreg.dll.
  2. Navigate to \bin\win64\libmwreg.dll in your MATLAB installation files. These installation files are the ones used for offline installation.
  3. Replace the file existing libmwreg.dll file with the new file and run the installer.
If you require the offline installation files, please refer to the article below for more information:
How can I get MATLAB installation files for use on an offline machine?https://www.mathworks.com/matlabcentral/answers/259632

More Answers (1)

Muneer Jahangeer
Muneer Jahangeer on 12 Mar 2021
MATLAB R2015b is not installing as expected on windows 10. noticed that, the installation progress went till 100% but no Add/Remove program & shortcuts are displayed. i have got some information in this link - https://uk.mathworks.com/matlabcentral/answers/98390-why-do-i-see-the-error-unable-to-locate-required-installation-files-when-running-the-mathworks-ins ,
Workaround for R2015a and R2015b
To work around this issue for R2015a and R2015b, use the following steps:
Download the zip file attached to this article. Please download the version associated with your release. It contains a file called libmwwinreg.dll.
Navigate to \bin\win64\libmwwinreg.dll in your MATLAB installation files. These installation files are the ones used for offline installation.
Replace the file existing libmwwinreg.dll file with the new file and run the installer.
but unable to find the zip file to download.
may i know where i could find the zip file.
On windows 10 - the vendor log stops here "(Mar 11, 2021 11:27:59) Updating file associations at c:\caeapps\matlab\R2015b_win64"
On windows 7 - the vendor log continues till end,
(Mar 11, 2021 11:27:59) Updating file associations at c:\caeapps\matlab\R2015b_win64
(Mar 11, 2021 11:28:47) Registering Uninstaller
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\DisplayName to MATLAB R2015b
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\UninstallString to c:\caeapps\matlab\R2015b_win64\uninstall\bin\win64\uninstall.exe c:\caeapps\matlab\R2015b_win64
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\DisplayIcon to c:\caeapps\matlab\R2015b_win64\bin\win64\matlab.ico
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\InstallLocation to c:\caeapps\matlab\R2015b_win64
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\DisplayVersion to 8.6
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\URLInfoAbout to www.mathworks.com
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\Publisher to MathWorks
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\HelpLink to www.mathworks.com/support
(Mar 11, 2021 11:28:47) setting registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Matlab R2015b\Comments to
(Mar 11, 2021 11:28:47) Creating Start Menu shortcut: MATLAB R2015b.lnk
(Mar 11, 2021 11:28:47) Creating Start Menu shortcut: MATLAB R2015b.lnk
(Mar 11, 2021 11:28:47) Creating Start Menu shortcut: Activate MATLAB R2015b.lnk
(Mar 11, 2021 11:28:47) Creating Start Menu shortcut: Deactivate MATLAB R2015b.lnk
(Mar 11, 2021 11:28:47) Creating Start Menu shortcut: Polyspace Bug Finder R2015b.lnk
(Mar 11, 2021 11:28:47) Creating Start Menu shortcut: Polyspace Code Prover R2015b.lnk
(Mar 11, 2021 11:28:59) Notes:
Your installation may require additional configuration steps.
1. The following products require a supported compiler:
Simulink Coder 8.9
Simulink Real-Time 6.3
MATLAB Coder 3.0
2. MATLAB Compiler 6.1 requires a supported compiler for creation of Excel add-ins
3. MATLAB Compiler SDK 6.1 requires the following:
? .NET framework for creation of .NET assemblies and deployable archives with Excel integration
? a supported compiler for creation of COM components, C and C++ Shared libraries
? a Java JDK for creation of Java packages
(Mar 11, 2021 11:28:59) Exiting with status 0
(Mar 11, 2021 11:29:00) End - Successful.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!