IDE package loading customization tool?  In my Delphi 7 days I used to use a tool from LMD for selecting which design time packages to load by the IDE, it's very helpful for several cases, for example, use different versions of a specific component library for different projects. But unfortunately that tool is no longer available in the LMD website, any alternatives? Thanks.

Comments

  1. I don't know any but all you need is to add/remove values in "HKCU\Software\Embarcadero\BDS\\Known Packages"

    Name is the path to the bpl and the Value is just the description that is shown in the IDE when you open the install packages dialog.

    There is also "HKCU\Software\Embarcadero\BDS\\Disabled Packages" which contains all of the other list that should not get loaded (unchecked in the install packages dialog).

    ReplyDelete
  2. There is also a command line parameter for the ide that acts as a prefix for the registry entries. I can't remember which one at the moment.

    ReplyDelete
  3. Edwin Yip With the newer IDE, what you want to do is built in but I don't know the actual steps on how to do it, just some wishy-washy ones.:( 
    1) Ensure the component you want to use has been compiled (but not installed) - remember where the .bpl is.
    2) Open the project you want to use,
    3) Component -> Installed packages (the title of the window should be your project)
    4) Un-tick the one(s) you don't want.
    5) Add the ones you want
    6) click Ok
    7) Save project
    Now when you next load that project, you should get the components you want. When you close the project/open a different one, the other components should come back

    As I said, wishy-washy instructions. Hope it helps

    ReplyDelete
  4. Thank you all, guys. Nicholas Ring 's approach should be easier than fiddling with the registry :)

    ReplyDelete

Post a Comment