Howto build and install packages into BDS 2010

I was wondering if it is possible with current Finalbuilder to build runtime packages and build + install design time packages into BDS 2010 from a FB project (assuming that during this task BDS 2010 is closed ;-))

Rad Studio does not have any api for doing this, however installing design time packages is really just adding some registry entries so it is possible. Building packages is just like building any other delpho project, except that you need to specify the BPL and DCP output directories. If you look in regedit at HKEY_CURRENT_USER\Software\CodeGear\BDS\7.0\Known Packages you will see where the packages are registered, you can use the regstry actions in FinalBuilder to add the entries for the new packages.