[Lazarus] Package physical location (directory)

Fabio Luis Girardi fluisgirardi at gmail.com
Thu Jul 28 13:47:56 CEST 2016


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 <nc-gaertnma at netcologne.de>:

> On Wed, 27 Jul 2016 16:43:33 -0400
> Dmitry Boyarintsev <skalogryz.lists at gmail.com> 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
> Lazarus at lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus
>



-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160728/94466a89/attachment-0001.html>


More information about the Lazarus mailing list