Delphi has a powerful database application development feature, and its client / sever version can develop a general stand-alone database
With the system, the ordinary client / sever application system until the Web-based multi-layer application, which is naturally inseparable from the Borland database engine
(BDE) 's credit. However, when running a database program on a computer that has been installed a Delphi program, it must be distributed huge
BDE files, Borland recommends that users use the InstallShield installed installer with Delphi to solve these issues. But how to choose
Can BDE files make your installer more refined? I first introduced several of the necessary documents:
IDAPI32.DLL: BDE Basic Library
BLW32.DLL: Language Drive Library
IDR20009.DLL: Error Information Library
FareAast.bll: Far East Language Driver
USA.BLL: American language driver
The following files are optional as needed:
If you use Paradox, you should choose: idpdx32.dll
If you use DBASE, you should choose: IDDBAS32.DLL
If you use Access, you should choose: IDDAO32.DLL
If you use ASCII, you should choose: iDasci32.dll
If you use TBATCHMOVE, you should choose: idbat32.dll
If you use Data Repostory, you should choose: IDDR32.DLL
If you use ODBC, you should choose: IDODBC32.DLL
If you use BDE Dataset Provider DLL, you should choose: IDProv32.dll
If you use SQL, you should choose: IDSQL32.DLL
Below we use InstallShield to make a PARADOX database application system installer as an example:
1. Start the program to set the file directory path to enter setup checklist;
2. Set the program name, program directory, installer main window in SET the Visual Design;
3. Set the Groups and Files items in the Specify Components and Files, join the user in Program Files
All program files and database table files, and the following files: idbat32.dll, usa.btl, idapi.cfg, charset.cvb,
Bantam.dll, BLW32.DLL, IDAPI32.DLL, FAREAST.BTL, IDPDX32.DLL, IDR20009.DLL, IDSQL32.DLL
(The above file must contain a directory path);
4. Set the required installation dialog box in Dialog Boxes;
5. Set the KEYS item in Make Registry Change,
Join Software / Borland / BLW32 and Software / Borland / Database Engine in HKEY_LOCAL_MACHINE, and
And join in the BLW32 value
"BLAPIPATH 'or above file directory'", "locale_lib0 'above file directory' /fareast.bll" and
"Locale_lib1 'above the file directory' /usa.bll", add "DLLPATH '" in the Database Engine value
Document Directory '"," Configfile01' above the file directory '/idapi.cfg ";
6. Set the relevant items according to the actual requirements in the Specify Folder and Icons;
7. Set information about the installation disk in Run Disk Builder; 8. Finally, Test The Installation and Create Distribution Media can complete the installer.