[Lazarus] [Fwd: Re: Is Lazarus a Delphi plagiat?]

Andreas Schneider aksdb at gmx.de
Sat Jan 30 13:29:58 CET 2010


Am Freitag 29 Januar 2010 23:36:02 schrieb Hans-Peter Diettrich:
> IMO a good add-on to the "Lazarus is invisible?" thread.
> 

I think a great problem for many of those people in this thread comes from the 
fact that (as they state) try it from time to time. That means, that they 
probably have environmentoptions.xml in their users dir from the previous 
install, which then still points to (now) wrong locations.

I have a proposal for this: how about the environmentoptions.xml contains the 
last-used-version of lazarus that wrote that file. I lazarus loads and finds 
that the version is different from its own (expected) version, it could 
perform a small self-test: if paths in that file don't exist anymore, it could 
look in the default environmentoptions.xml (which the windows installer for 
example puts in the install directory afaik) and see if that would fix it. 
Additionaly it could ofcourse warn the user that paths were just modified and 
that it might be due to still having that file from an older install.

Best Regards,
Andreas Schneider.




More information about the Lazarus mailing list