GenerateProjectFiles.bat fails with odd compile errors

I tried installing the Windows 10 SDK, but it fails with “windows installer service could not be accessed”, which I think might be indicative of something else but at this point I don’t have time to troubleshoot further. I suspect my development environment has been misconfigured somewhere along the line. I can’t even uninstall Visual Studio 2015.

I’ve attached the generated text file: link text

I’m going to have to just reinstall windows at this point, I’ve wasted too much time on it which we just cannot afford. Let me know if there’s any other diagnostics you’d like me to run before I wipe it.