Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Step by step upgrade of Indy 10 in Delphi 2009

Can someone help in telling the details on how to uninstall Indy 10 and install the latest build? I found it http://indy.fulgan.com/ZIP/IndyTiburon.zip

There is a similar question, but not a satisfying answer, just some comments from the user who asked, but that is not a step by step guide.

Why there is not a tool for this?

like image 989
LaBracca Avatar asked Jul 08 '10 14:07

LaBracca


1 Answers

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!

like image 143
2 revs Avatar answered Sep 21 '22 12:09

2 revs