Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
732 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 Reply

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.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...