Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing Visual Studio 15 Preview 4 - Windows 7 SP1 requires KB2952664

As per the latest announcement from Microsoft here I'm trying to install Visual Studio 15 Preview 4 on my machine. My machine is Windows Server 2008 R2 Enterprise edition. I had already installed Visual Studio 15 Preview 3 but now I want to install Preview 4. The moment I try to run the installer "vs_bootstrapper.exe" downloadable from above mentioned URL it fails with following error.

Windows 7 SP1 requires KB2952664.

It shows the above message in a message box without any other redirection to some error log file or retry option.

enter image description here

I also tried running the installer exe with administrative privileges as well but to no success. I'm stuck. Can anyone help me if you also have faced or fixed this issue?

Note: I'm on a hyper-v box.

like image 927
RBT Avatar asked Aug 26 '16 09:08

RBT


People also ask

How do I know if Visual Studio is installed or not?

Double-click the devenv.exe file. If you installed Visual Studio to a drive other than the C drive, go to the folder where you installed Visual Studio, and then locate Common7\IDE\devenv.exe.

Why Visual Studio is not opening?

Try firing up the developer Command prompt under the Visual Studio menu, enter devenv /safemode and if Visual Studio starts there is an issue with an extension and if this does not work the next thing to look at is Windows Defender and/or any anti virus software which may be causing Visual Studio not to load.


1 Answers

Visual Studio community link from Daniel A. White helped me resolve this issue. The problem is faced by many users and you can find the details here. Quoting from the thread:

It seems that installer is looking for a file named "dismapi.dll". This file has to be present in either %windir%\system32 or %windir%\SysWow64 or any subdirectory.

A (dirty) workaroud is to create an empty file named dismapi.dll in any of those directories and then you can install Preview 4... :)

As suggested in the problem thread, creating a dummy dismapi.dll file in %windir%\SysWow64 path helped me get past this issue. After creating the dummy file, the welcome page of the installer finally popped-up. The first solution to create the dummy file in %windir%\system32 didn't work for me. The two alternative solutions could be OS dependent. Mine was Windows Server 2008 R2.

like image 83
RBT Avatar answered Nov 16 '22 02:11

RBT