Deploy BDE for Delphi Apps?

If your Delphi application accesses data using the Borland Database Engine (BDE) and you wish to deploy it on a user’s client computer, then it is necessary that you deploy the BDE too.

You may receive the following error , if the BDE is not deployed .


The BDE can be deployed/ installed done in 2 ways

  1. Manual installation
  2. With the Setup’s like InnoSetup .

The bdeinst.dll contains all the files necessary to install database drivers for BDE .This file comes as a part of BDE installation that is available in the can be located in the path “\Program Files\Common Files\Borland Shared\BDE” .Use an decompression utility to extract the file like winzip or winrar .

Now we need to copy and register the dll in the system where it is to be deployed .

  1. Copy the bdeinst.dll in to a folder . I use C:\BDE and copy the file here.
  2. Open the cmd prompt .
  3. set the path to the folder where the bdeinst.dll is located .
  4. run the command regsvr32.exe bdeinst.dll in the command prompt .
  5. Now a window should open asking for the installation .

Installing the BDE with InnoSetUp .

click Installing the BDE with InnoSetUp to know more about Deploying the BDE using the SetUp program .

To uninstall BDE

  1. Delete the folder containing BDE . By Default , this will be Programfiles\CommonFiles\BDE .
  2. Delete the BDEADMIN.CPL .This file is responsible for showing the BDE Administrator in the Control panel .This is found in the path Windows\System folder or System32 folder .I found it in the System32 folder in one of my Home computer.
  3. Open the Command prompt and type regedit .
  4. Search for HKEY_CURRENT_USER\Software\Borland\BDEAdmin and delete it .
  5. Next locate HKEY_LOCAL_MACHINE\Software\Borland and delete the subkeys BLW32, Borland Shared and Database engine.

Also read the bdedeploy.txt located in the BDE directory (“\Program Files\Common Files\Borland Shared”) for the specific info on deploying BDE

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

One Response

  1. Daniel December 18, 2010 Reply

Leave a Reply


Interesting BlogPosts to read

Dealing with the column names that looks like SQL Keywords in SQL Server
There are times when you might have a column names in your SQL Server database table that might look...
SQL Server's ISNULL() equivalent in PostgreSQL
SQL Server provides an function ISNULL if the value placed in the 2nd parameter if the first paramet...
Kill all the current active connection in SQL Server database
There are times when you want to kill all the current active connections of your SQL Server database...