You may receive the following error , if the BDE is not deployed .
The BDE can be deployed/ installed done in 2 ways
- Manual installation
- 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 bdeinst.cab.This 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 .
- Copy the bdeinst.dll in to a folder . I use C:\BDE and copy the file here.
- Open the cmd prompt .
- set the path to the folder where the bdeinst.dll is located .
- run the command regsvr32.exe bdeinst.dll in the command prompt .
- 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
- Delete the folder containing BDE . By Default , this will be Programfiles\CommonFiles\BDE .
- 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.
- Open the Command prompt and type regedit .
- Search for HKEY_CURRENT_USER\Software\Borland\BDEAdmin and delete it .
- 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