• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

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)
0
scrapdog
Asked:
scrapdog
1 Solution
 
MadshiCommented:
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now