MATLAB Answers

0

Why do I get a Microsoft Visual C++ Redistributable error 1935 when installing MATLAB on Windows?

I get the following error when installing MATLAB on Windows:
Error 1935. An error occurred during the installation of assembly
'Microsoft.VC80.ATL.type="win32",version="8.0.50727.762".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitecture="amd64"'.
Please refer to Help and Support for more information.

Tags

No tags entered yet.

Products

4 Answers

Answer by MathWorks Support Team on 4 Jan 2019 at 5:00
Edited by MathWorks Support Team on 4 Jan 2019 at 18:45
 Accepted Answer

"Error 1935" indicates that there is a problem with the Microsoft Visual C++ Redistributable package, which is required by MATLAB.
The error typically means that the package failed to install properly.
To resolve this issue, please follow the steps below.
(1) Install the Microsoft Visual C++ Redistributable package from an alternate location.
- Run the MATLAB installer and wait for it to finish unzipping
- Open the temporary folder that was created
- For R2016a and earlier run the Visual C++ installers from each of the following locations:
_temp_matlab_R20XXx_win64\bin\win64\vcredist_x64.exe
_temp_matlab_R20XXx_win64\bin\win64\vc90\vcredist_x64.exe
- For R2016b run the Visual C++ installers from the following locations:
_temp_matlab_R20XXx_win64\bin\win64\vc90\vcredist_x64.exe
- For R2017a and later releases we no longer ship MATLAB with the Visual C++ installers as they are no longer required:
If you cannot install the Microsoft Visual C++ Redistributable package, proceed to the next step.
(2) Install any pending Windows Updates and restart your computer to apply the updates.
Windows 10:
- Open the Start Menu
- Click on "Settings"
- Click on "Update & Security"
Windows 7 / 8 / 8.1:
- Open the Control Panel
- Click on "Windows Update"
- Click on "Check for updates"
- If updates are available, click on "Install Updates"
- After the updates are installed, restart your computer
- Run the Visual C++ installer from the locations listed in step 1
If you cannot install the Microsoft Visual C++ Redistributable package, proceed to the next step.
(3) Uninstall all versions of Microsoft Visual C++ and then try installing the version required by MATLAB.
- Open the Windows Control Panel
- Click on "Programs and Features"
- Click on "Microsoft Visual C++ #### Redistributable"
(where #### = 2005 or 2008 or 2010)
- Click on "Uninstall"
- Go through the uninstall process
- Repeat these steps for every instance of "Microsoft Visual C++ #### Redistributable"
- Restart your computer
- Run the Visual C++ installer from the locations listed in step 1
If you cannot install the Microsoft Visual C++ Redistributable package, proceed to the next step.
(4) Download and install the Microsoft Visual C++ 2008 Redistributable Package (x64), which is available directly from Microsoft's website:
If you cannot install the Microsoft Visual C++ 2008 Redistributable package, proceed to the next step.
(5) Download and install the Microsoft Visual C++ 2005 Redistributable Package (x64), which is available directly from Microsoft's website:
If you cannot install the Microsoft Visual C++ 2005 Redistributable package, proceed to the next step.
(6) If you still get Error 1935, you can try restoring the operating system to a previously working state using Windows System Restore.
For instructions, please see Microsoft's website:
Windows 10:
Windows 8.x:
Windows 7:
Windows Vista:
Windows XP:
(7) If you tried all of the steps above, but you still cannot install the Visual C++ Redistributable package, then there is a critical problem with your operating system.
Please contact Microsoft Support for assistance:
1 (800) 642-7676

  0 Comments

Sign in to comment.


Answer by Jonatan Pérez on 28 May 2016
Edited by Jonatan Pérez on 28 May 2016

Hi everybody! I had the same issue and finally I could fix it. It's a Matlab error in the Visual C++ Redistributable package. I did the MathWorks Support Team procedure but it didn't work. I tell you how I fixed it.
- Run the MATLAB installer and wait for it to finish unzipping
- Open the temporary folder that was created
- Go to _temp_matlab_R20XXx_win64\bin\win64\vc90 and copy the two files in the previous folder _temp_matlab_R20XXx_win64\bin\win64. Replace the two files. Don't run the two files. It is not necessary.
- Now in the same folder run the setup.exe and you will see that the aplication WORKS.
- After the installation but before open Matlab you have to make the same changes in the hard disk folder that was created in the intallation. Go to your hard disk and in programme files you will see a Matlab folder.
- Go to _C\programme files\matlab\win64\bin\win64\vc90 and copy the two files in the previous folder C\programme files\matlab\win64\bin\win64. Replace the two files.
- In the previous folder, C\programme files\matlab\win64\bin there is an icon of Matlab application. Make a desktop shortcut and run Matlab.
- Come back here and give me thanks. :)
See you.

  5 Comments

Sign in to comment.


Answer by Julien A on 29 Apr 2016
Edited by Walter Roberson
on 28 May 2016

Hi,
This worked for me :
Start "Windows Modules Installer" service (in French : the service name is "Programme d’installation pour les modules Windows")
(Solution originaly found here : http://computerstepbystep.com/windows_modules_installer_service.html)
Regards,
Julien

  0 Comments

Sign in to comment.


Answer by Brandon Graham on 23 May 2016
Edited by Brandon Graham on 23 May 2016

Had this same issue, but none of the above suggestions worked for us. The issue was that we didn't have sufficient space on the hard drive to unpackage the installer. After increasing the available space, everything worked fine.

  0 Comments

Sign in to comment.