GenerateProjectFiles.bat doesn't recognize Visual Studio 2015

I keep on getting this message:

GenerateProjectFiles ERROR: We couldn’t find a valid installation of Visual Studio. This program requires either Visual Studio 2013 or Visual Studio 2012. Ple ase check that you have Visual Studio installed, then verify that the HKEY_LOCAL _MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\InstallDir (or HKEY_LO CAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\InstallDir on 32-bit machines) registry value is set. Visual Studio configures this value when it is installed , and this program expects it to be set to the '\Common7\IDE' sub-folder under a valid Visual Studio installation directory.

I check the intall dir and it is ok. what can i do ?
please help

this is the screenshot of the installdir

Hey Diste-

Which version of the engine are you trying to compile? Additionally what type of Visual Studio are you using (Express, Community, Pro)? If you are using VS Express, can you instead try Community and let me know if you are still having this issue?


I’m trying with UE4 4.10 and i’m using Visual Studio Community yet.

Are you using the Release branch from github to get 4.10 or are you specifically grabbing the 4.10 branch? Did you run Setup.bat prior to GenerateProjectFiles.bat?

Hi Diste. I think problem in vs2015 in default installation. Try reinstall vs2015 and check in addons to include c++ and all components for him. Default in vs2015 c++ not set to install. I hope it’s helpful.

I’m using the branch from github, and i run Setup.bat prior!

Hi Anatoliy.
I’m gonna try to reinstall VS2015, maybe it helps.

I will let you know.

Hi to everyone!! I reinstalled vs2015, now everything is fine !
Thank you so much !

Go go go !!

Thanks Anatoliy !! That was the problem !!