I don't know if this applies to you, but, If you package depends of some packages that is distributed together with your package, Lazarus has a way to store the path of your package dependency.
The best regards, Fabio 2016-07-28 4:53 GMT-03:00 Mattias Gaertner <[email protected]>: > On Wed, 27 Jul 2016 16:43:33 -0400 > Dmitry Boyarintsev <[email protected]> wrote: > > > Hi, > > > > How a package (first-time installed) could know its physical location? > > Specifically the physical location of .lpk file. > > > > The path is needed for a package that depends on external > > configuration/template files. > > It would be nice, if the package could find the external files > > automatically, rather than asking the user to point to the package > > directory. > > > > Having these initial configuration/template files as constants in the > code > > is undesirable from maintenance point of view. > > Do you mean, how can a package installed in the IDE find its lpk? > > Mattias > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus-ide.org/listinfo/lazarus > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
