Open hhyyrylainen opened 6 years ago
This might be useful: https://github.com/Microsoft/vswhere (it is contained in the VS installer).
It might be worth noting that the Visual Studio Installer is always located at %ProgramFiles(x86)%\Microsoft Visual Studio\Installer
: it is currently (as of 20-02-2019) impossible for the user to place it anywhere else, as the program that downloads the installer does not have any options.
AFAIK Visual Studio 2017 path can't automatically be detected so it is hard coded currently. It would be optimal to be able to detect it but in absence of that there at least needs to be an option for specifying it.