Menu ▾ ▴

#91 The table of Delphi versions and their registry keys exists more than once

unread
nobody
2026-10-19
2026-10-19
No

Two scripts map each Delphi version to its registry key below HKLM\SOFTWARE and read RootDir from there, each with its own table:

  • packages/CheckPackages.ps1: $versions and Find-DelphiRoot
  • compiletests/AllUnits/BuildForVersion.cmd: REG_VENDOR / REG_KEY

buildtools/delphiversions.cmd has a third table, version to default installation directory.

A new Delphi version, or a fix to the lookup, has to be made in each of them. One shared table, or one script that the others call, would avoid that.

Discussion


Log in to post a comment.