Delphi applications that use the Borland database engine for database access require that you distribute the BDE with the application. Here's how to install the BDE on a client machine using an install program or manually.
Installing the BDE manually
The BDE folder (located inside "\Program Files\Common Files\Borland Shared") on your computer should contain the file BDEINST.CAB that you should unpack (using WinZip or equivalent). You will then get the file BDEINST.DLL that contains all the files necessary to install the file-based database drivers on a users system (these include the textdriver, Paradox, dBase and MS Access).
The only thing you need to do now is to copy the DLL to the users machine and register it by either calling regsvr32.exe with BDEINST.DLL as an argument. If the user doesn't have regsvr32.exe on his machine, you can include it in the installation as a temporary file, run it to register the DLL and then deleting it.
Uninstalling the BDE manually
The manual way is to:
1. Delete the BDE folder
2. Delete the BDEADMIN.CPL file in the Wiindows\System folder
3. Run Regedit.exe, find the node HKCU\Software\Borland\BDEAdmin and delete it
4. Find the node HKLM\Software\Borland and delete the subkeys BLW32, Borland Shared and Database engine
5. Restart the machine
Warning: certified installers only
Now that you know how to manually install the BDE, I must warn you that you should not do that.
Borland does not support deployment of the BDE except by "certified" installation tools. Read the BDEDEPLOY.TXT carefully (found in the BDE directory inside "\Program Files\Common Files\Borland Shared") for specific information regarding deploying the BDE with database applications created in Delphi.
Delphi tips navigator:
» ASP.NET: IsDesignTime
« Extracting the domain (host) name from an e-mail address