SysJames
SysJames

Reputation: 431

Correspondence between delphi version and the file locations

I need to reduce the size of my system path variable. I have had several version of Delphi on this machine that have since been deleted. Several versions remain, however. I would like to delete the paths in the system path variable that are no longer needed. I could guess, based on the sequence, but would feel more confident if I had a list of the version of Delphi, along with the path used.

Does such a list exist?

The reason for "trimming" of the system path variable is that many products (Delphi included) adds the path it needs to the system path, but when you uninstall, it seems that it is not deleted from the system path. After installing XE6, and bringing up the XE version (which I have to keep for an old project), informs me that it cannot add a path to the system path variable since, to do so, would make it too large.

Upvotes: 1

Views: 341

Answers (2)

fpiette
fpiette

Reputation: 12292

I have solved that problem by removing all the entries for Delphi from the global path. I launch each Delphi version using a batch file which create the correct path for the version. I described it in details in a blog article: Path issue when having installed lot of software

Upvotes: 0

David Heffernan
David Heffernan

Reputation: 612914

Some RAD Studio version numbers:

  • XE6 = 14 (what happened to 13?)
  • XE5 = 12
  • XE4 = 11
  • XE3 = 10
  • XE2 = 9
  • XE = 8
  • 2010 = 7
  • 2009 = 6
  • 2007 = 5

The actual paths involved vary between Embarcadero and CodeGear, between Studio, RAD Studio and BDS. But the version number is enough to identify the product version.

Another way to look at things is that if you've uninstalled a bunch of versions then the path will contain references to folders that do not exist. Clearly they can be removed. Editing the path with the built in dialog is painful to say the least. Use a third party tool like Rapid Environment Editor which will highlight the directories in your path that do not exist.

Personally I remove all mention of Embarcadero/CodeGear/Borland from my system path. When I need command line tools for a specific version I use the supplied batch file to set up the necessary environment for that version.

Upvotes: 1

Related Questions