Download from SVN. I'll refer to the base directory as tplockbox.
Go to the tplockbox/trunc/packages directory. Copy the d2010 directory contents to a new directory namedXE.
Rename TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj
Open it, right click TP_LockBox3_d2010.bpl, go to Options, change "LIB suffix" from the Description section to_XE.
Do the same for the dclTP_LockBox3_d2010.bpl project
Adjust output paths and directories for all projects. I don't remember if I just went ahead and changed this globally.
Build and install TP_LockBox3_XE.bpl and dclTP_LockBox3_XE.bpl packages.
If you want the test cases to work, you'll have to modify the tplockbox/trunc/test/uLockBox_TestCases.pas file. There are some hard coded checks for an older version of DUnit than the one that comes with Delphi XE. You can just comment out these checks.
another method:
Installation Problem with Delphi XE
I can not compile. The Installation program fails with this error:
...................... Will now attempt to execute 10 jobs. Cmd: De-installing the design-time package dclTP_LockBox3.dpk with compiler Delphi XE Diag: Job completed ok. Cmd: Configuring TP_LockBox3.dpk in preparation for compilation. TP_LockBox3.dpk: Compiler = Delphi XE Type = Package (BPL output) RunTime = True DesignTime = False Description = 'TurboPower LockBox 3 run-time package' Project directory = "D:\DelphiTools\LockBox3\packages\DXE" BPL suffix = _dXE BPL output dir = "D:\Users\Alfonso\Documents\Borland Studio-Projekte\Bpl" Include directories = D:\Users\Alfonso\Documents\Borland Studio-Projekte\Inc DCP output dir = "D:\DelphiTools\LockBox3\Compiled" DCU output dir = "D:\DelphiTools\LockBox3\Compiled" Diag: Job completed ok. Cmd: Compiling package TP_LockBox3.dpk with compiler Delphi XE. Embarcadero Delphi für Win32 Compiler-Version 22.0 Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
TP_LockBox3.dpk(82) Warnung: W1007 Unit 'uTPLb_OpenSSL' ist experimentell 25067 Zeilen, 0.14 Sekunden, 213828 Byte-Code, 16072 Byte-Daten. Diag: Job completed ok. Cmd: Configuring dclTP_LockBox3.dpk in preparation for compilation. dclTP_LockBox3.dpk: Compiler = Delphi XE Type = Package (BPL output) RunTime = False DesignTime = True Description = 'TurboPower LockBox 3 design-time package' Project directory = "D:\DelphiTools\LockBox3\packages\DXE" BPL suffix = _dXE BPL output dir = "D:\Users\Alfonso\Documents\Borland Studio-Projekte\Bpl" Include directories = D:\Users\Alfonso\Documents\Borland Studio-Projekte\Inc DCP output dir = "D:\DelphiTools\LockBox3\Compiled" DCU output dir = "D:\DelphiTools\LockBox3\Compiled" Diag: Job completed ok. Cmd: Compiling package dclTP_LockBox3.dpk with compiler Delphi XE. Embarcadero Delphi für Win32 Compiler-Version 22.0 Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
dclTP_LockBox3.dpk(32) Schwerwiegend: E2202 Package 'TP_LockBox3_DXE' wird benötigt, konnte aber nicht gefunden werden Diag: Job "Compiling package dclTP_LockBox3.dpk with compiler Delphi XE." failed! Cmd: Erasing temporary configuration files. Diag: Job completed ok. At least one job failed. Processing of remaining jobs aborted.
method:
It looks like the run-time package was compiled ok, but when it came to compiling the design-time package, the compiler could not find the dependant run-time package.
Is your BPL directory ("D:\Users\Alfonso\Documents\Borland Studio-Projekte\Bpl") on the system PATH? (This is required.) After the run-time package is compiled using the automated installer, look in the BPL directory. What is the file-name of the run-time package? Is it TP_LockBox3_DXE.bpl or TP_LockBox3_DXE_DXE.bpl?