开发者

Unable to remove package from Delphi 2005

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

When I open the new DrRX.bpl and click install, I get the error

"Package C:\Program Files\Borland\BDS\3.0\components\rx work\out开发者_开发问答put\DrRx.bpl cannot be installed because another package with the same basename is already loaded (DrRx.bpl)"

I cannot find any reference to DrRX in my package list, DrRX does not appear in the Tool Palette. How do I locate where Delphi thinks this is installed, and remove it, so I can reinstall the package?


You probably have an entry for this in your "Known Package" entry in your registry that is, for whatever reason, not working correctly.

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

HKEY_CURRENT_USER\Software\Embarcadero\RADStudio\8.0\Known Packages

And see if there is an entry for DrRX.bpl. If there is, remove it, and try to install again.


What I have experienced myself many times is that after removing a package from the IDE, a reference remains in the Package Cache registry key under the Delphi registry key (e.g. HKEY_CURRENT_USER\CodeGear\BDS\7.0 for Delphi 2010). Though the package is no longer visible 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 delete the package that I uninstalled from the Package Cache registry key. It seems the cache is a bit too persistent.


Did you search the whole HD for others? Try that. If you find one, try to move/delete it. If you can't, then Delphi has got it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜