[Lazarus] language setup / http://bugs.freepascal.org/view.php?id=22574

Reinier Olislagers reinierolislagers at gmail.com
Mon Aug 13 11:16:20 CEST 2012


On 13-8-2012 11:04, Martin wrote:
> On 13/08/2012 08:36, Reinier Olislagers wrote:
>>> -------------------------------------------------
>>> 2) Lazarus setup dialog
>> However, we can also do both.
>> 1) Use an installer language choice screen that calls
>> 2) a separate program that uses the Lazarus IDE code (similar to how
>> lazbuild does this) with an argument to set language
> I' d rather add a final page to the installer with the option to start
> the IDE (as many other installers do)
> 
> It can have an option to start the IDE in setup mode (which would 1st
> prompt the language)
Yes, but you'd have no unattended install option that permits setting
the language.
Also, IMO an installer should set up as much as possible; leaving
configuration to Lazarus seems sloppy. But that's esthetics/preference
and minor.

Having a final page with a "Run Lazarus" option is easy to do in Inno
and perhaps could be added anyway.

>> This lazset program can then also be used in people's existing svn
>> update batch files, fpcup, etc, so the main functionality would not be
>> platform/installer dependent.
> IMHO this lazset is the IDE itself. If the installer creates 2
> startupmenu entries: one normal, and one with forced setup

Could be.
Having a separate program could be handy though for unattended install
and scripting purposes (e.g. schools, universities).
That program could also be expanded to change other settings.


In the end, I do really like having the setup dialog show language
selection if none chosen - that's a big step forward. Having installers
preselect languages would be a plus.

PS: a bit OT, but the setup dialog is beginning to replicate a lot of
settings in the Tools/Options dialog. What are your thoughts about
moving the graphic "something is not right" icon to the regular Options
dialog and showing that?
That would cut down on maintenance/code duplication and allow easier
additions of items to be checked... recently we added debugger location,
now we're talking about language settings, in future it might be a check
for existence of help files.





More information about the Lazarus mailing list