Question and Answer Database FAQ4293C.txt :Manually Uninstalling C++ Builder 3 Category :Install Issues Platform :Win95/NT Product :C++Builder3.x, Question: I tried to uninstall CBuilder 3 through Add/Remove programs, and I got an error (for example, 'Log file is corrupt'). How do I uninstall it from my system? Answer: There are three steps that you should go through in order to manually remove Builder from your computer. First, you should remove the registry keys, then you should remove the reference from the path statement and last you should delete the files. 1) Remove the Registry Keys ------------------------------------------------------- The first part of actually removing C++ Builder 3 is to remove the registry Keys that the install places on your system. The install.txt gives a list of all the registry keys added to your system (those keys are also listed below). -------- WARNING: Changing your registry makes changes that affect your whole system. You should back up your registry before making any changes to it. Inprise is not responsible for changes made to your registry. -------- Before you begin editing your registry, make floppy-based backups of the Registry files. That way, if a problem occurs you have a safe backup. Don't use BACKUP.EXE but simply copy the following 4 files: system.dat system.da0 user.dat user.da0 To remove these keys, you first have to go into your registry. Do this by going to Start | Run. Type 'regedit' at the prompt. This will show you a list of registry keys, that looks a lot like a list of directories in explorer. You can navigate this the same way you would navigate through directories. -------- WARNING: Some of these keys may have been put on your system by other programs. If you have other Borland Compilers, or other products that use the Borland Database Engine, remove only the keys specifically for Builder 3: SOFTWARE\Borland\C++Builder\3.0 -------- Go through the registry for the keys below, and delete them when you get to them. A. File Extension Associations ----------------------------------------------------- These are the file extension associations kept in the registry under HKEY_CLASSES_ROOT: HKEY_CLASSES_ROOT\.bpg = "BCBProjectGroup" HKEY_CLASSES_ROOT\.bpk = "BCBPackage" HKEY_CLASSES_ROOT\.bpr = "BCBProjectFile" B. Key Names added ----------------------------------------------------- HKEY_CURRENT_USER Key Name: SOFTWARE\Borland\C++Builder\3.0 Key Name: SOFTWARE\Borland\DBD HKEY_LOCAL_MACHINE Key Name: SOFTWARE\Borland\C++Builder\3.0 Key Name: SOFTWARE\Borland\BLW32 Key Name: SOFTWARE\Borland\Database Engine Key Name: SOFTWARE\Borland\Borland Shared 2) Remove Builder 3 from the path statement ------------------------------------------------------- Now you must remove Builder 3 from your system files. Note: This document assumes that you have installed to the default directory. If you have not, then instead of "C:\Program Files\Borland\CBuilder3\Bin", look for the path that points to the Cbuilder3\Bin directory on your system. Windows 95 ---------- Go to your start menu, and to run. Type 'sysedit'. A parent window with several child windows should open up. The child window in front should say 'Autoexec.bat'. In the Autoexec.bat, there should be at least one line that says: path= or set path= Look through these lines. Part of one of these lines should be the phrase: C:\PROGRA~1\BORLAND\CBUILD~1\BIN; From this line, remove "C:\Progra~1\Borland\Cbuild~1\bin;" (everything from the 'C' to the ';'). Now, Builder is out of your path statment. Windows NT ---------- Right click on 'My Computer.' You should see a property sheet titled 'System Properties.' Click on the environment tab. Within either your System Variables or your User Variables, you should have a Path variable that contains C:\Program Files\Borland\CBuilder3\Bin; Double click on that path so that it appears in the edit box at the bottom of the tab. Edit the path so that you remove the entire reference to CBuilder3 (Everything from the 'C' to the ';'). Now, Builder is out of your path statement. 3) Delete the Files ------------------------------------------------------- Now you can delete the Builder files. To delete those files, remove your entire CBuilder3 directory, and everything in it. If you have no other Borland products and know that you have no products that use the BDE, you can remove the entire Borland directory. 1/21/1999 2:49:57 PM
Last Modified: 01-SEP-99