VST default location

Hi Jules,

Would it be possible that you change the path, for windows, in :

[code]FileSearchPath VSTPluginFormat::getDefaultLocationsToSearch()
return FileSearchPath ("~/Library/Audio/Plug-Ins/VST;/Library/Audio/Plug-Ins/VST");
const String programFiles (File::getSpecialLocation (File::globalApplicationsDirectory).getFullPathName());

return FileSearchPath (programFiles + "\\Steinberg\\VstPlugins");

return FileSearchPath ("/usr/lib/vst");

by something like

const String programFiles (File::getSpecialLocation (File::globalApplicationsDirectory).getFullPathName());

return FileSearchPath (PlatformUtilities::getRegistryValue("HKLM\\Software\\VST\\VSTPluginsPath",programFiles + "\\Steinberg\\VstPlugins"));

(not tested yet but it should work)

Is that an official steinberg registry setting? Ok, I didn’t know such a thing existed, I’ll change that, thanks!

Not sure, wether it’s official. I think that’s more a de facto standard but it’s widely used !
Oh…and thanks to you by the way ! :smiley:

It would be great if you could also read the 64-bit VSTPluginsPath from


and add it as a default path for VST plugins.

Surely a 64-bit app will be reading the 64-bit registry by default, so it'll already get the correct value for that?

Yeah you're right.

Got I got confused by looking at the wrong values in the registry. I now see that a 64-bit host reads from


and 32-bit host on a 64-bit Windows system reads from


Sorry for the mix-up :-)