Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repair Broken Borland Registry 2

Status
Not open for further replies.

bellysavalas

Programmer
Jun 23, 2008
5
US
Hi

I had a problem that I recently found the solution to and wanted to post it here in case it is of use to others.

My problem had similar symptoms to those described in previous thread (thread102-1379970), except that my OS is WinXP SP3. My problem started when I uninstalled some unwanted software (MS Office 2007 trial). This thread doesn't seem to have a solution to the problem, so I thought that I'd post my findings.

Like HelpMeDude in that thread, I had tried repairing, uninstalling and reinstalling from the iso; but with no success.

I then came across this article:

which says:
Known Installation Issues

* If you modify the CodeGear product installation by clicking the Change button in Add/Remove Programs and choosing the Modify option to remove features, setup makes the appropriate changes in the registry only in HKEY_LOCAL_MACHINE. Follow any one of the steps below to make these changes in HKEY_CURRENT_USER.
o After doing a maintenance install from Add/Remove Programs, restart the IDE and click on No for all the Package not found errors and Assembly not found errors. This automatically removes the correct assembly or package entries from the registry and should prevent these errors when starting CodeGear Delphi 2007. This is the preferred option, since the options outlined below involve manually editing the registry.
o Manually edit the HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known IDE Packages and Known Packages registry keys to delete the assemblies or packages that were removed by the setup in HKEY_LOCAL_MACHINE\Software\Borland\BDS\5.0.
o Delete the HKEY_CURRENT_USER\Software\Borland\BDS\5.0 registry key and restart the IDE to get the updated registry settings. Be aware that when you delete this key, you lose your customized settings that were stored under this registry key.

Note: Read the WARNING at the end of this file before editing your system registry.
* Uninstalling Delphi 2007 when an earlier version of BDS or C++Builder is installed should not affect pre-existing installations.
* The Installer does not notify you if you have less than the required free space (2 GB on the C: drive). If you try to install with too little space, the install hangs.

In other words -- if your Borland registry keys have somehow been corrupted and you try re-installing to fix it, this only repairs the HKEY_LOCAL_MACHINE, so you need to update HKEY_CURRENT_USER manually to see it fixed.

I deleted the HKEY_CURRENT_USER\Software\Borland\BDS\5.0 registry key and restarted the IDE and the problem was solved. I then had to re-install my components/libraries etc... but at least it fixed the problem.

I hope that this is useful to anyone with similar problems.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top