<div dir="ltr"><div>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.<br></div><div><br></div><div><br></div><div>The best regards,</div><div><br></div><div>Fabio</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-28 4:53 GMT-03:00 Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 27 Jul 2016 16:43:33 -0400<br>
Dmitry Boyarintsev <<a href="mailto:skalogryz.lists@gmail.com">skalogryz.lists@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> How a package (first-time installed) could know its physical location?<br>
> Specifically the physical location of .lpk file.<br>
><br>
> The path is needed for a package that depends on external<br>
> configuration/template files.<br>
> It would be nice, if the package could find the external files<br>
> automatically, rather than asking the user to point to the package<br>
> directory.<br>
><br>
> Having these initial configuration/template files as constants in the code<br>
> is undesirable from maintenance point of view.<br>
<br>
</span>Do you mean, how can a package installed in the IDE find its lpk?<br>
<span class="HOEnZb"><font color="#888888"><br>
Mattias<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus-ide.org">Lazarus@lists.lazarus-ide.org</a><br>
<a href="http://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">http://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br><a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a></div>
</div>