There’s something dodgy in the code that returns the default plug-in location for the VST format on Windows:
const String programFiles (File::getSpecialLocation (File::globalApplicationsDirectory).getFullPathName());
FileSearchPath paths;
paths.add (WindowsRegistry::getValue ("HKEY_LOCAL_MACHINE\\Software\\VST\\VSTPluginsPath",
programFiles + "\\Steinberg\\VstPlugins"));
paths.removeNonExistentPaths();
paths.add (WindowsRegistry::getValue ("HKEY_LOCAL_MACHINE\\Software\\VST\\VSTPluginsPath",
programFiles + "\\VstPlugins"));
return paths;
If the registry entry is set, you’ll end up with two identical paths. Looks like a merging error to me…
Best,
Stian

