adding design packages (bpls) in delphi IDE (automatically)

风格不统一 提交于 2019-12-24 09:43:54

问题


I am trying to automate Delphi Environment regeneration we have bunch of bpl-s that has to be installed in a fresh delphi.

I need to automate this somehow from Delphi 5 it would be : Components->Install Packages->Add...

Any ideas?

Thanks.


回答1:


The list of installed IDE packages is stored in registry, so you could update it there.

The actual location depends on Delphi version, on my machine for D7 it's:

HKEY_CURRENT_USER\Software\Borland\Delphi\7.0\Known Packages

and for D2007 it's

HKEY_CURRENT_USER\Software\Borland\BDS\4.0\Known Packages



来源:https://stackoverflow.com/questions/2299031/adding-design-packages-bpls-in-delphi-ide-automatically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!