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.
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
-
AdminMartijn Laan
(Admin, Inno Setup)
commented
@rfbeiboer: this feature request is about something else.
-
rfbeiboer
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.
-
ajtruckle commented
I think this is a really useful idea. It seems sensible to me to default to last used language.