[Lazarus] Package physical location (directory)

Dmitry Boyarintsev skalogryz.lists at gmail.com
Wed Jul 27 22:43:33 CEST 2016


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.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160727/ac7a3028/attachment.html>


More information about the Lazarus mailing list