Installing multiple custom packages lazarus / 13-General ---------------------------------------------------------------------- nimble2010 · 2023-11-25 16:16 Hello  I have a bunch of packages (50+) that I would like to install in the IDE and I can't use the "Open Package File" menu item because there's just too many of them. Is there a way I can install them all at once? Each is in its own separate directory with *.lpk I appreciate any help, thank you. ---------------------------------------------------------------------- wp · 2023-11-25 16:25 Create one more package and add all the packages to it that you want to install. Then install this "all-in-one" package only - it should install the other packages as well. ---------------------------------------------------------------------- nimble2010 · 2023-11-25 17:07 That's awesome, didn't know it can recursively install subpackages, but how would I add them exactly? I have created a new package, tried adding all the *.lpk files for all packages using "Add -> Add Files from File System" but it adds them as text and nothing gets installed as a result. ---------------------------------------------------------------------- wp · 2023-11-25 17:27 No, you must add then via "New requirement". This opens the "New requirement dialog"; in its package list you can select several packages at once by CTRL- and/or SHIFT-clicking. At least, that's the way I remember when I did this for the JVCL packages. ---------------------------------------------------------------------- nimble2010 · 2023-11-25 17:31 Quote from: wp on November 25, 2023, 06:27:57 pmNo, you must add then via "New requirement". This opens the "New requirement dialog"; in its package list you can select several packages at once by CTRL- and/or SHIFT-clicking. At least, that's the way I remember when I did this for the JVCL packages. Well that's where the issue is, my packages do not appear in the list because they are in a local custom directory. If I use the requirement option I'm stuck with "Local" already installed packages or "Online" ones. ---------------------------------------------------------------------- wp · 2023-11-25 18:12 Oh, of course... Maybe this: Create a new project group (in "Project" menu; should be available, if not, install package LazProjectGroups via "Install/Uninstall packages"). Add all required lpk files to the group. Make sure that the root node of the tree (at the very top) is selected, then click "Compile" - this compiles all packages. Now the IDE should know about these packages, and they should show up in the "New requirement" dialog that I mentioned in the previous post. ---------------------------------------------------------------------- nimble2010 · 2023-11-25 22:18 Quote from: wp on November 25, 2023, 07:12:38 pmOh, of course... Maybe this: Create a new project group (in "Project" menu; should be available, if not, install package LazProjectGroups via "Install/Uninstall packages"). Add all required lpk files to the group. Make sure that the root node of the tree (at the very top) is selected, then click "Compile" - this compiles all packages. Now the IDE should know about these packages, and they should show up in the "New requirement" dialog that I mentioned in the previous post. Perfect, that did the job. Thank you very much!