Page 1 of 1

Select Setup Language dialog questions

Posted: Wed Oct 23, 2013 10:44 am
by NickDay
I have been asked whether it is possible to localize the language name in the initial "Select Setup Language" dialog. For instance to have it display "Deutsche" rather than "German".

I can't find anything to indicate that it is. [I wondered whether I could duplicate the German message files in my installer project, and rename them "Deutsche". I suppose then the $LANGUAGE$ variable would also change, and this new language would not be supported in the localization wizard.]

Also, I have not worked out what dictates the language used for the messages in the Select Setup Language dialog. I'd expect it to use the language of the OS the installer is running on, but our French customer is complaining that the SSL dialog is being displayed in English. I have English selected as the default language in the Project settings, as I don't see a 'Use local default' option, and English is the logical choice for a multi-language installer.

If anyone has any advice on these two issues, I'd appreciate it.
I'm using InstallAware 12.

Re: Select Setup Language dialog questions

Posted: Wed Oct 23, 2013 11:53 am
by FrancescoT
Dear NickDay,

It is not possible to customize the language list proposed with the default IA language selection dialog.

... but if you want, you can create your custom one in order to use it instead of the default IA dialog.
Using this approach, of course you can define the language list as you prefer.

Regarding your second question, the Language dialog uses the default language you specified.
... alternatively, with a custom language selection dialog you can modify this behavior as you prefer.

Regards

Re: Select Setup Language dialog questions

Posted: Thu Oct 24, 2013 2:54 am
by NickDay
Many thanks Francesco, that is helpful.
Nick

Re: Select Setup Language dialog questions

Posted: Thu Oct 24, 2013 3:12 am
by FrancescoT
:D

Re: Select Setup Language dialog questions

Posted: Thu Oct 24, 2013 5:51 am
by NickDay
Hi Francesco,

Regarding your second question, the Language dialog uses the default language you specified.


Can I suggest that you might in future like to add an option to default the installer's language to that of the OS, if that language is supported in the installer. Otherwise, fall back on the selected default language.

It is not possible to customize the language list proposed with the default IA language selection dialog.
... but if you want, you can create your custom one in order to use it instead of the default IA dialog.
Using this approach, of course you can define the language list as you prefer.


I do have some other customised dialogs in my installer. I'd like to be able to customise the language selection dialog, but cannot see how to do it in IA12, as
a) I think this dialog is displayed (and closed) before my installer MSIcode script is entered.
b) I don't see .dfm and .dfm.miaf files for a language selection dialog in my imported dialogs. Nor do I see these in InstallAware12\Dialogs\Windows Installer folder. Maybe I'm overlooking it; what is the name of the .dfm file I should be using please?

Regards,

Nick

Re: Select Setup Language dialog questions

Posted: Thu Oct 24, 2013 11:41 am
by FrancescoT
Dear Nick,

The default Language selection dialog is part of the InstallAware engine... so there isn't any file available to customize.

You need to create a custom dialog and then, you need to handle it at the very begging of your main script ( ... as you already do with any other dialog).

Regards

Re: Select Setup Language dialog questions

Posted: Fri Oct 25, 2013 4:39 am
by NickDay
Thanks Francesco.
Nick

Re: Select Setup Language dialog questions

Posted: Fri Oct 25, 2013 11:17 am
by FrancescoT
:D