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

Marcos Douglas md at delfire.net
Wed Sep 14 15:43:09 CEST 2011


2011/9/14 Flávio Etrusco <flavio.etrusco at gmail.com>:
> 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.

x2

Marcos Douglas




More information about the Lazarus mailing list