Different installation depending on language - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Epyc
Posts: 9
Joined: Thu May 20, 2010 3:31 pm

Different installation depending on language

Hi,

We are planning on purchasing this product, but before we do (and our decision will be based on the answer to this question) we would like to know the following:

Before the install procedure starts, the user should be prompted for his language. Once a language is chosen, the installer should be localized, but, it should also install a different set of files.
Can advanced installer do this? If so can someone point me in the right direction? I couldn't find this in the documents. Maybe I overlooked something.

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Different installation depending on language

Hi,

To prompt the user for a language you can select the "Display language selection dialog" option in the Bootstrapper tab of the "Media" page. You can generate a single EXE setup file by using the "Include install files in EXE" option from the same tab. Please note that the language selection dialog will contain only the languages checked in the Translations page.

To conditionally install files based on language you can try the approach I explained here:
http://www.advancedinstaller.com/forums ... t=0#p21919

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Epyc
Posts: 9
Joined: Thu May 20, 2010 3:31 pm

Re: Different installation depending on language

Thank you!
I just tested this approach and it works great.
One question though:

I am creating a multilanguage installer with a bootstrap. I have 2 languages: dutch and french. I set it up so on the first screen, the user is asked which languages he wants to install. But.. that screen is in dutch by default, and when you pick french in the dropdownbox, the language of the screen doesn't change. Everything works as it should for the dialogs after the first screen, they all show up in french. Is it automatically selecting dutch because my system is dutch? Or is it just becuase it's the first language in the installer? Is there a way to make the strings on the first screens change when you select a different language? French people are now greeted in dutch... and that doesn't look very profesional.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Different installation depending on language

Hi,
Is it automatically selecting dutch because my system is dutch?
No, that dialog is independent from the language of the system. It uses the default language of the project created in Advanced Installer.
As you have probably already seen on the "New Project" dialog you can choose the default language of the project.
Is there a way to make the strings on the first screens change when you select a different language?
I'm afraid this is not possible in the current version of Advanced Installer. I shall propose this enhancement to our developers and they will take the
appropriate decisions.
French people are now greeted in dutch... and that doesn't look very profesional.
Since the language of that dialog doesn't changes when you select it from the combobox maybe a solution would be for you to choose as the default
language of the package English, since this is very commonly used in computers, and almost everybody knows it.

Please let me know if you have other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Epyc
Posts: 9
Joined: Thu May 20, 2010 3:31 pm

Re: Different installation depending on language

Hi,

Ok thanks. Having the strings change when the user picks a language would really be an improvement. Anyway, this won't stop us from buying advanced installer. It's not critical.
I already thought about including english. But ... there's no english version of our software (yet). So if the user selects english, no files will be installed. Is it possible to include english as the default language, but not have it show up in the language dropdown?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Different installation depending on language

Hi,
Is it possible to include english as the default language, but not have it show up in the language dropdown?
I'm afraid this is not possible, all the languages selected in the Translations page will be shown in that dialog, this is built-in into our bootstrapper.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Epyc
Posts: 9
Joined: Thu May 20, 2010 3:31 pm

Re: Different installation depending on language

We now bought advanced installer. So far, I like it. But our customer isn't so pleased with some of the limitations. The language not changing on the language selection screen is something they would really like to see... and if possible they would even want to auto select the language of the operating system.
Also, I created a single installer which contains the files for 2 languages. You can only install 1 language. But now our customer wants to be able to install the 2 languages on the same machine. But, when you run the installer for the second time, you can only remove the application. Is there an easy fix for this? Am I overlooking something?
Another problem is this: I'm installing a different .exe for each language. But when you check "launch application at the end of installation", you can only select 1 .exe. The strange thing is you can select a feature... but you cannot specify a different file to launch for each of the features (languages).
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Different installation depending on language

Hi,

Thank you for registering Advanced Installer.
The language not changing on the language selection screen is something they would really like to see... and if possible they would even want to auto select the language of the operating system.
I added these improvements on our TODO list and they will be available in a future version. Thank you for your suggestions.
But now our customer wants to be able to install the 2 languages on the same machine.
I'm afraid that this cannot be done. It's not supported by Windows Installer and there's not much we can do to avoid the limitation.
I'm installing a different .exe for each language. But when you check "launch application at the end of installation", you can only select 1 .exe.
Assuming the EXE files have the same names and are installed in "Application Folder", after selecting the EXE you can manually edit the path to a more generic one, for example:

Code: Select all

[APPDIR]MyApp.exe
Another solution is to create your own checkbox which conditions, along with the ProductLanguage property, different custom actions on Finish button.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”