Solved

Installing components programmatically

Posted on 2001-07-08
2
311 Views
Last Modified: 2010-04-06
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
Comment
Question by:scrapdog
2 Comments
 
LVL 20

Accepted Solution

by:
Madshi earned 50 total points
ID: 6263857
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
 
LVL 5

Author Comment

by:scrapdog
ID: 6264440
Coolness.  Thanks.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now