Borrar filtros
Borrar filtros

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

306 visualizaciones (últimos 30 días)
I get the following error when installing MATLAB on Windows:
ERROR: 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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 10 de Sept. de 2024 a las 0:00
Editada: MathWorks Support Team el 16 de Ag. de 2024
"Error 1935" indicates that there is a problem with the Microsoft Visual C++ Redistributable package, which is required by older versions of MATLAB (R2016b and earlier).
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 receive a 1935 error when you try to install software, the Windows file system transaction log may have become corrupted. To correct this install error, you may need to clear the log.
  • Open an Administrator command prompt. To do this, press Windows key + X keys together and choose Command Prompt(Admin).
  • Now enter the following command:
    •  fsutil resource setautoreset true C:\
  • This assumes that C: is the drive in which Windows 10 is installed. If it is installed on another drive like D:, please change the drive letter appropriately.
  • Restart the system and check the issue.
(7) Reinstalling .NET may also help.
  • In your Windows Taskbar, enter Control Panel.
  • Select Programs, then Programs and Features.  
  • Select Turn Windows features on or off.  
  • Find the affected version of the Microsoft .NET Framework, unselect the checkbox next to it to turn the feature off, then select OK.
    • Items should be removed from highest number to lowest.  
    • You may need to remove the .NET Framework updates and other components before the main one may be removed for any particular version, but they will all start with Microsoft .NET Framework.  
    • You may skip any versions not listed in your programs list.
  • After the removal process completes, restart your computer.  
  • Install the previously removed versions of the Microsoft .NET Framework or turn on Microsoft .NET Framework 3.5.x, or .NET 4.8.x:  
  • Open the Control Panel.  
  • Open Programs and Features.  
  • Select Turn Windows features on or off.  
  • Select the checkbox next to Microsoft .NET Framework 3.5.x or 4.x.x  
  • Select OK and wait for the process to complete.
(8) 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:
(9) 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:

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by