Failed to remove package from Delphi 2005

I needed to reinstall the package, DrRX.bpl. I removed it from the list of packages and tried to install a newer version of the same package. I replaced the old dir component with the new one.

When I open a new DrRX.bpl and select the installation, I get an error message

"The package C: \ Program Files \ Borland \ BDS \ 3.0 \ components \ rx work \ output \ DrRx.bpl cannot be installed because another package with the same base name (DrRx.bpl) is already loaded"

I can not find the link to DrRX in my list of packages, DrRX does not appear in the tool palette. How to find where Delphi thinks it is installed and uninstall it so that I can reinstall the package?

+4
source share
3 answers

You probably have an entry for this in the Known Package entry in your registry, which for some reason does not work correctly.

Close RAD Studio. Run REGEDIT.EXE, and then go to

HKEY_CURRENT_USER \ Software \ Embarcadero \ RADStudio \ 8.0 \ Known packages

And look if there is an entry for DrRX.bpl. If there is, uninstall it and try installing again.

+4
source

What I experienced many times is that after removing the package from the IDE, the link remains in the Package Cache registry subkey in the Delphi registry key (for example, HKEY_CURRENT_USER \ CodeGear \ BDS \ 7.0 for Delphi 2010). Although the package no longer appears in the IDE, trying to install another package with the same name or a package containing a component with the same name causes errors until I remove the package that I removed from the Package Cache registry key. It seems that the cache is too persistent.

+3
source

Have you searched all HD for others? Try this. If you find it, try moving / deleting it. If you cannot, then Delphi will receive it.

0
source

Source: https://habr.com/ru/post/1305164/


All Articles