I suggest you ...

Setup: Add a way to a way to preserve language selection between installs

Setup currently doesnt remember which language was used across installs so the user has to reselect the language each time.

Add a UsePreviousLanguage for this just like all the other UsePrevious... settings.

Note: because the 2nd install could be run by a different user than the 1st install, the language used by the Select Language dialog itself should remain unchanged, only the combo box selection should change.

If the Select Language dialog has been disabled by the script author, it should also not try to use the previous language.

27 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Martijn LaanAdminMartijn Laan (Admin, Inno Setup) shared this idea  ·   ·  Admin →
    completed  ·  Martijn LaanAdminMartijn Laan (Admin, Inno Setup) responded  · 

    From CVS:

    Added new [Setup] section directive: UsePreviousLanguage. When this directive is yes, the default, at startup Setup will look in the registry to see if the same application is already installed, and if so, it will use the language of the previous installation as the default language selected in the list of available languages on the Select Language dialog.

    Note that this directive does not change the language used by the Select Language dialog itself because it cannot assume that the current user understands the same languages as the previous user.

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • rfbeiboerrfbeiboer commented  · 

        I would like to change the language in the [code] section. This allowes me to read the language from a (ini-) file. This way I can produce cd-roms with the same installer, but all with a different language just by supplying a different file.

      • ajtruckleajtruckle commented  · 

        I think this is a really useful idea. It seems sensible to me to default to last used language.

      Knowledge Base and Helpdesk