Step by step upgrade of Indy 10 in Delphi 2009

I did this very recently, I’ve done it before with 2007 and had lots of problems, but this time in D2010 it went really well…

Assumptions:

  1. The Indy BPL’s are stored in the bin
    folder
  2. DCP and DCU are stored in the
    lib\indy10 folder
  3. Source code is source\indy\indy10
    (then you have core/protocol/system
    subfolders)

Directions:

So, I took the BPL/DCP/DCU files and saved them somewhere safe (just in case)
I renamed the core/protocol/system folders to core.old/protocol.old/system.old
I then copied the core/protocol/system folders from the indytiburon.zip into source\indy\indy10 folder

Now, the packages have to be built in the following order:

System – Core – Protocol – dclCore – dclProtocol

For Delphi 2009, open the packages whose names end in 130; for Delphi 2010, 140.

I opened each package, then in the options I pasted the full path to lib\Indy10\ into the DCP and Unit output directory fields, and the full path to bin\ into the package output directory field.

Then I built the packages. For the dcl packages I also installed.

Certainly for 2010 it went without a hitch!

Leave a Comment