Installing components programmatically

DelphiX is a set of components that comes with an EXE that automatically installs the components into Delphi (ALL components should come with one of these).

I would like to know how this is done.  (URLs are OK)
LVL 5
scrapdogAsked:
Who is Participating?
 
MadshiConnect With a Mentor Commented:
Hi scrapdog!  :-)

You have to precompile your stuff for all supported Delphi/BCB versions, then you can add/change some registry keys and you're done.

(1) You have to make your packages known in "HKCU\Software\Borland\Delphi\X.0\Known Packages"
(2) You have to add the path to your binary files (*.dcu, *.bpl, ...) to "HKCU\Software\Borland\Delphi\X.0\Library\Search Path"
(3) If you ship your sources with your components, you should add the path of your sources to "HKCU\Software\Borland\Delphi\X.0\Library\Browsing Path"

That's it.

Regards, Madshi.
0
 
scrapdogAuthor Commented:
Coolness.  Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.