Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
727 views
in Technique[技术] by (71.8m points)

installation - How to install a Delphi component package from the command line?

I am preparing an installer (Inno Setup) to install my component package into Delphi XE without having to manually fiddle in the IDE.

How do I install a Delphi component package (for example, MyComponent.bpl) into Delphi without having to manually do it via the 'Install Packages' menu item? Is it a registry key?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Yep, registry is your friend.

Packages:

HKEY_CURRENT_USERSoftware<Borcadero>BDS<version>Known IDE Packages
HKEY_CURRENT_USERSoftware<Borcadero>BDS<version>Known Packages

IIRC Known IDE Packages is for IDE extensions, and Known Packages for components (on the Tool Palette)

Library paths are in:

HKEY_CURRENT_USERSoftware<Borcadero>BDS<version>Library

Note:

  • <Borcadero> stands for Borland, CodeGear or Embarcadero, depending on your Delphi version.
  • <version> is the IDE version, ie 7.0 for Delphi 2010.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...