MATLAB Answers

2

How to fix installation error, "Error 1935, .....

Asked by Fabian Romano on 15 May 2013
Latest activity Edited by Jan
on 6 Oct 2017
Hi
I get this error when trying to install Matlab on a laptop with Windows 7 64 bit and AMD quad core processor.
Error 1935. An error occurred during the installation of assembly "Microsoft.VC80.ATL.tyoe="win32".version="8.0.50727.6195".publicKey Token="1fc8b3b9a1e18e3b".processorArchitecture="amd64"
This happens when the installer tries to install C++ 2005. I tried deleting all the C++ versions before installing but no luck. Also tried installing C++ manually by downloading it but get the same error.
Any suggestions will be helpful !! Thanks !
>

  1 Comment

Sign in to comment.

8 Answers

Answer by Kyle
on 4 Mar 2014

For anybody that had a hard time understanding this, as I did, here's a detailed explanation!
This can be fixed easily. For some reason, newer versions of windows have a difficult time downloading the C++ 2005 version. Matlab offers a 2008 version but it is not set as the default. To make it the file to download, you need to locate your temp files created by MatLab that stores the files for installation. (Just copy and paste destination location you chose when you downloaded the installation program from MatLab's website into your file explorer). Once you do this, click on the folder named bin, then the folder named v90. There should be two files. Copy these. Then go back to the bin folder. Paste the two files. (you will be prompted to replace the files, do so.) These two files are C++ 2008, rather then C++ 2005. Now locate the setup program, which should be located in the same folder you pasted the two files to. It SHOULD download C++ 2008 instead. Which is exactly what we want!! I also noticed after the program installs, when opening MatLab C++ 2005 tries to install again. I run win 8, but i went into my program files, located the bin and vc90 folders, and repeated the process. Now MatLab runs like a champ! Hope this helps anybody else with the same problem. Figured I share the solution so you could share it as well.

  5 Comments

Should probably add to my last comment that (at least in my case, installing onto Windows 7) the two C++ 2008 files were located in a folder named vc90 within the bin\win32 subfolder, and that the two files need to be copied from vc90 into this win32 subfolder, not to bin itself.
Hi Kyle,
As you suggested, I followed exactly and tried to run the set up file but nothing happens after that.
For those of you having trouble after following the solution: it apper if you try to launch the intaller after doing all of this it will run the un-zip program again, witch will have the effect of undoing (at least for me). The only sure fire way I found was to install The VC++ separately then run the setup.exe located WITHIN the temp folder (the one that is just called setup.exe without any version number). This is what worked for me so I hope it help you best of luck!

Sign in to comment.


Answer by Jan
on 15 May 2013
Edited by Jan
on 15 May 2013

When the same error occurres when you install MSVC++ 2005, it is not related Matlab. Then this is the wrong forum for asking.
If you use parts of the message to search in the internet, you get more than 43'000 matching links, e.g. http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/228f31ca-c6ea-4065-b194-fca208d1af82. Please try to perform the suggested solutions on this and other pages.

  0 Comments

Sign in to comment.


Answer by Andrey
on 2 Oct 2013
Edited by Andrey
on 2 Oct 2013

I have spent about an hr trying to fix this. I have searched through numerous MS forum posts, tried running MS fix-it routines, re-installed the VC++ redistribution separately, and so on. What ended up fixing it was manually enabling the Windows Update service which, turned out, was disabled.
FYI my exact error code was:
0x80070422
64-bit Win 7 machine, fresh install.

  0 Comments

Sign in to comment.


Answer by xixian chen on 8 Jul 2015

I solve the questions by starting these two terms in your windows system: "windows Installer" and "windows Modules Intaller", both should be set with start automatically.
You can further google for how to start.

  0 Comments

Sign in to comment.


Answer by Julien A on 29 Apr 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 ken ryu
on 11 Sep 2016

Hi, @Julien A: Many thanks!! I lost 2 days with the 1935 error, and YOUR solution was the one to use. Plus, you're nice enough to give the French name for the "windows Modules Intaller" module ! Then 'Merci Julien' :) Now, I have to spread that solution on tje whole forums I have been on ! yhis would help plenty of people ! The solution is : Start "Windows Modules Installer" service (in French : the service name is "Programme d’installation pour les modules Windows")

  0 Comments

Sign in to comment.


Answer by Euan Russano on 7 Mar 2017

I was also having this problem. It just worked after I deactivated the anti-virus software and restarted the system. Then the installation ran smoothly!

  0 Comments

Sign in to comment.


Answer by João Domingos on 5 Oct 2017
Edited by Jan
on 6 Oct 2017

After trying all of the above i was pretty desperate, but then i found the following link:
After following the steps explained there + doing what @Kyle said everything finally worked!

  0 Comments

Sign in to comment.