Http://www.cnblogs.com/railgunman/archive/2010/08/31/1814112.html
Installation of Indy 10 and uninstall of old version
Indy 10:
Http://www.indyproject.org/downloads/10/indy10.0.52_source.zip
Indy 10 Installation Step 1, unzip the compression package.
2, open \system\indysystem70.dpk, point compile.
3, open \core\indycore70.dpk, point compile.
4, open \protocols\indyprotocols70.dpk, point compile.
5, open \SUPERCORE\INDYSUPERCORE70.DPK, point compile. Options available
6, open \CORE\DCLINDYCORE70.DPK, click Install.
7, open \PROTOCOLS\DCLINDYPROTOCOLS70.DPK, click Install.
8, open \SUPERCORE\DCLINDYSUPERCORE70.DPK, click Install. Options available
Indy 10 unloading and precautions
Unloading:
1. Remove the package from the Install Packages menu
Uninstalling the Indy component package from the IDE of Delphi
2. Delete the *. BPL and *. DCP files of Indy from the installation Directoy and from your System folder
Remove all BPL and DCP files starting with Indy from your system directory
3. Remove any old Indy files from your library path
Remove all Indy paths from your Delphi library path
4. Install your new Indy component
Installation is smooth (please uninstall the Delphi Indy before installation), but when loading the project to compile the error:
[Fatal Error] Unit1.pas (one): Unit Idcontext was compiled with a different version of Idsockethandle.tidsockethandle
The workaround is simple: simply add the following path (installed by default on C:\Program Files\indy for Delphi 7) to Delphi's Library path.
C:\Program Files\indy for Delphi 7\source\core
C:\Program Files\indy for Delphi 7\source\protocols
C:\Program Files\indy for Delphi 7\source\supercore
C:\Program Files\indy for Delphi 7\source\system
Attached Indy
Http://www.indyproject.org/Sockets/Download/Borland.EN.aspx
Installation of Indy 10 in Delphi and uninstallation of older versions