Cloud Training (Online)

How to 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 will receive the following error if the BDE is not deployed .

deploy BDE

How to deploy BDE for Delphi Apps?

You can deploy BDE or install BDE 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