No compiler found. [Visual Studio 2017]

I modified the installation path of visual studio 2017 in Windows Registry Editor (RegEdit.exe). For UE4, refer to the following Registry path. Of course, there is also a way to re-install Visual Studio 2017.

QueryRegKey(HKEY_CURRENT_USER, TEXT(“SOFTWARE\Microsoft\VisualStudio\SxS\VS7”)
QueryRegKey(HKEY_LOCAL_MACHINE, TEXT(“SOFTWARE\Microsoft\VisualStudio\SxS\VS7”)
QueryRegKey(HKEY_CURRENT_USER, TEXT(“SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7”)
QueryRegKey(HKEY_LOCAL_MACHINE, TEXT(“SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7”)