Ryan Liptak cf8f0cdae9 WindowsSdk: Fix finding the _Instances directory when it's not in the default location
Information about installed MSVC instances are stored in `state.json` files within a `Packages/_Instances` directory. The default location for this is `%PROGRAMDATA%\Microsoft\VisualStudio\Packages\_Instances`. However, it is possible for the Packages directory to be put somewhere else. In that case, the registry value `HKLM\SOFTWARE\Microsoft\VisualStudio\Setup\CachePath` is set and contains the path to the Packages directory.

Previously, WindowsSdk did not check that registry value. After this commit, the registry value `HKLM\SOFTWARE\Microsoft\VisualStudio\Setup\CachePath` is checked first, which matches what ISetupEnumInstances does (according to a Procmon log).
2024-05-09 22:22:41 -07:00
..
2024-05-05 15:58:08 -04:00
2024-03-19 11:45:09 -07:00
2024-03-29 22:15:17 -07:00
2024-03-21 14:11:46 -07:00
2024-02-23 02:37:11 -07:00
2024-03-19 11:45:09 -07:00
2024-05-08 19:37:28 -07:00
2024-05-03 20:58:02 -07:00
2024-03-21 14:11:46 -07:00
2024-03-21 14:11:46 -07:00
2024-03-15 02:28:50 -04:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-05-05 15:58:08 -04:00
2024-03-10 18:13:30 -07:00
2024-03-19 11:45:09 -07:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-04-23 17:57:56 -07:00
2024-02-05 11:55:14 +03:30
2024-03-19 11:45:09 -07:00
2024-02-09 14:02:57 -08:00
2024-04-15 15:24:30 -07:00
2024-03-19 11:45:09 -07:00
2024-02-08 15:39:28 +01:00
2024-03-21 14:11:46 -07:00
2024-03-21 14:11:46 -07:00
2023-10-21 21:24:55 +00:00