Delphi package does not load when I start Delphi

I worked on my own package. Then, while I was processing, I mistakenly click on the message " Do not download this package the next time you start Delphi " ...

Even I delete, clean my package ... After I recompile and reinstall it successfully: Delphi will show me a message that my components have been compiled and registered successfully (Some new components have been identified and added: TMyComponents).

I was “hoping” that when I load my test project again, my component will still be present in my form, but I get a message that “TMyComponent classes were not found. Ignore the error and continue? Note: this may remove the component values ​​or lost properties "

Then I check the menu: “Component / install package” , my package is displayed in the list, but it is “not installed”. If I check it manually and upload my project, my component is there, everything is in order. if I restart delphi, the package will not be removed, and is still disabled .

How can I reactivate this package to load when I start Delphi, as usual? (Delphi-2009)

+4
source share
2 answers

I found something while searching the Windows registry (Regedt32.exe):

1 - I am sure that my package is here : HKEY_CURRENT_USER \ Software \ CodeGear \ BDS \ 6.0 \ Famous packages \ "C: \ Users \ Public \ Documents \ RAD Studio \ 6.0 \ Bpl \ MyPackage.bpl"

2 - Then I removed my package from here HKEY_CURRENT_USER \ Software \ CodeGear \ BDS \ 6.0 \ Disconnected packages \ "C: \ Users \ Public \ Documents \ RAD Studio \ 6.0 \ Bpl \ MyPackage.bpl"

3 - I uninstall and reinstall my package.

Now it works again

+4
source

. Delphi 2009 :

HKCU\Software\CodeGear\BDS\6.0\Disabled Packages

. Delphi.

+3

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


All Articles