<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
</div>
<div>
<br/>"Jürgen Hestermann" <juergen.hestermann@gmx.de> hat am 15. August 2012 um 11:46 geschrieben:>
<br/>>
<br/>> Am 2012-08-15 11:17, schrieb Mattias Gaertner:
<br/>> > The IDE does not reset configs on itself. Maybe the installer does?
<br/>>
<br/>> I think the settings are not reset after each update. But I had several situations where I got an startup error message after a certain upgrade which I could only get rid of by renaming the path "C:\Dokumente und Einstellungen\Jürgen\Lokale Einstellungen\Anwendungsdaten\lazarus" (which I was not even aware of that it exists and that it holds my settings). Afterwards all settings were gone. I had to do this on multiple machines.
</div>
<div>
</div>
<div>
The next time you get this, can you create a bug report?
</div>
<div>
<br/>
<br/>> When updating I am also asked whether "D:\Programme\lazarus\environmentoptions.xml" (why is this file located in the installation directory?) should be updated.
</div>
<div>
</div>
<div>
The folder "D:\Programme\lazarus" is the secondary config directory - the place where the Windows installer places the config files that are copied on first start to the primary config directory (C:\Dokumente und Einstellungen\Jürgen\Lokale Einstellungen\Anwendungsdaten\lazarus).
</div>
<div>
Maybe the Windows Installer maintainer can explain why he chose those directories.
</div>
<div>
Under Unix the secondary is /etc/lazarus, the primary is ~/.lazarus.
</div>
<div>
</div>
<div>
</div>
<div>
> I was under the impression that this file holds all my settings but only recently found out the editor settings are in "C:\Dokumente und Einstellungen\<user>\Lokale Einstellungen\Anwendungsdaten\lazarus\editoroptions.xml". What a nighmare of scattered settings. In "C:\Dokumente und Einstellungen\<user>\Lokale Einstellungen\Anwendungsdaten\lazarus" a file environmentoptions.xml exists too. Which one is used? There are 11 XML files in this directory. Are they all config files?
</div>
<div>
</div>
<div>
Yes.
</div>
<div>
</div>
<div>
> Are other (non-XML files) configure something?
</div>
<div>
</div>
<div>
Yes. For example staticpackages.inc is a pascal include file.
</div>
<div>
</div>
<div>
> This all is something the user should not bother about.
</div>
<div>
</div>
<div>
The normal user needs to know where the (primary) configs are for backup.
</div>
<div>
Design time package developers need to know more details.
</div>
<div>
</div>
<div>
</div>
<div>
> I find it way too confusing. There should be only one config file with paths (which may be different on different machines) and one for *all* settings regarding Lazarus.
</div>
<div>
</div>
<div>
The other settings can also be different on different machines. For example short cuts, window positions and history lists.
</div>
<div>
And vice versus: The paths can use macros and might be the same on different machines.
</div>
<div>
</div>
<div>
> But this seems to have evolved over time and cannot be changed back now.
</div>
<div>
</div>
<div>
The secondary directory can be changed quite easily.
</div>
<div>
</div>
<div>
Mattias
</div>
<div>
</div>
</body></html>