I have a Windows 8.1 computer with Visual Studio Community 2015 installed and no other version of Visual Studio. I want to install Visual Studio Community 2013 because this is required to use C++ with Unreal Engine 4. But I get this error message when I try to install.

So I restarted my computer, and the same error message still shows up. I have tried installing from an executable from the Visual Studio webpage, and from a button in Unreal Engine 4 that opens the Visual Studio 2013 installer. What could be the problem? Thanks.