How do I install Indy into Borland Delphi?

Previous  Top  Next

Close the Borland Delphi IDE if it is open.
If you are using the version of Indy included in Delphi 6 or 7, use the MSI installer to remove Indy.
Remove all Indy files including dclIndy*.bpl, Indy*.bpl, the Id*.pas, and the Id*.dcu's.  Take care that you only remove the old Indy files and not something else.  Be sure that you also remove any Indy*.bpl from your Windows\System directory.
Place the new version of Indy in a directory of your choice.  When unzipping, please keep the \source directory for the archive intact because that is used by some build batch files.
In the source directory, there are several batch files.  Run the appropriate one for your version of Indy:
FULLD4.BAT - Delphi 4
FULLD5.BAT - Delphi 5
FULLD6.BAT - Delphi 6
FULLD7.BAT - Delphi 7
These batch files create subdirectories in the main Indy directory folder.  They are (D4 for Delphi 4, D5 for Delphi 5, D6 for Delphi 6, and D7 for Delphi 7).  These directories contain:
The Indy .DCU's
The Indy Design-Time .BPL
In your Delphi IDE, add the Indy design-time package with Component|Install Package...|Add...  Go to the subdirectory where the Indy .DCU's and Design-Time .BPL was placed by the batch file.  Add the Design-Time .BPL that is listed.  It usually is named dclIndy followed by the Borland Delphi version and an 0.
Add the path where the .DCU's are located to your environment.  Do this with Tools|Environment Options...|Library...|Library Path...

 

For Indy 10, there is an automated install included in the Indy Plus Package at ttp://www.atozed.com/indy/ or if you prefer, you may build Indy 10 yourself.