[Lazarus] Automatic handling of multiple Lazarus installation - user configuration folder (Was: Re: Search paths per platform)

Flávio Etrusco flavio.etrusco at gmail.com
Wed Sep 14 11:45:49 CEST 2011


On Wed, Sep 14, 2011 at 6:33 AM, Martin <lazarus at mfriebe.de> wrote:
> On 14/09/2011 10:05, Sven Barth wrote:
>>
>> On 14.09.2011 10:54, Martin wrote:
>>>
>>> Storing config in the app dir IMHO is not a good idea (btw older Lazarus
>>> did do that.)
>>> Most modern OS have guidelines t say otherwise.
>>>
>>> On linux users can not write to that dir at all. On Windows it would
>>> currently work, because lazarus is nt in "Program Files" folder => once
>>> it will be, windows will apply "workarounds" by moving the files to
>>> "Program Data" or similar (newer windows only).
>>>
>>> Backup solutions may not find the data in the prg folder, multi user
>>> systems will not work...
>>
>> I believe he meant extending the name where the configuration is stored...
>> e.g. "lazarus0.9" instead of just "lazarus".
>
> What happens if you upgrade?
>

Lazarus could search for a suitable configuration (one pointing to its
installation directory) and ask the user whether they want to migrate,
delete or leave as is the configuration.




More information about the Lazarus mailing list