One of my systems has a broken Delphi installation: it thinks BDSCOMMONDIR
points to C:\\Windows\\system32\\9.0
whereas on a functioning system, it
Question is rather old but here is the correct answer for future readers: RAD Studio/Delphi doesn't store the BDSCOMMONDIR (and others) in the registry but you can find it in a file named rsvars.bat, inside the \bin folder.
Example extracted from my Delphi 10.3 Rio installation:
@SET BDS=C:\Delphi\Embarcadero\Studio\20.0
@SET BDSINCLUDE=C:\Delphi\Embarcadero\Studio\20.0\include
@SET BDSCOMMONDIR=C:\Users\Public\Documents\Embarcadero\Studio\20.0
unless you have manually overridden it through Environment Variables option. In that case, it will be under the registry key:
HKEY_CURRENT_USER\Software\Embarcadero\BDS