Updater uses incorrect 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!

rzwierz
Posts: 43
Joined: Thu Apr 19, 2007 5:23 pm

Updater uses incorrect language

Hi,

We support 14 languages in our installers and we use British English (as opposed to US English) as our main installers language. The problem is that when we install our software on a US English PC then the updater displays all the dialogs in Chinese. Originally the problem was observed on instlallers built with AI 5.0, but upgrading to 6.1 didn't change anything.

Looking at the installed updater.exe's resources it seems that the binary doesn't have any fall-back (NEUTRAL, NEUTRAL) language set. Our guess is that when the updater cannot find exact language match (as in the above scenario) it uses strings from the language which has the smallest id (Chinese in our case). It would use NEUTRAL, NEUTRAL (0x0, 0x0) resources but no such resources are specified.

Also other languages exhibit similar problem. Most of them are defined with DEFAULT (0x1) as their sublanguage, which can cause other sublanguages (with ids other than 0x1) to fall-back to Chinese as there are no 'LANG_xxx, NEUTRAL' fall-backs and there is no NEUTRAL, NEUTRAL fall-back. This problem can easily be observed with Portuguese. On a PC with Portuguese (Brazil) 'LANG_PORTUGUESE, 0x1' our updater will most certainly fall-back to Chinese as we've selected Portuguese (Portugal) 'LANG_PORTUGUESE, 0x2' as our version of Portuguese (as we couldn't select Neutral Portuguese).

Looking at updater-res.dll it seems that NEUTRAL, NEUTRAL fall-back is defined, but somehow it doesn't make its way into final updater.exe. Are there any options in the AI's GUI that we're missing? Maybe there is a way of forcing NEUTRAL, NEUTRAL to be pushed into the updater?

Unfortunately the updater-res.dll also exhibits the problem with no LANG_xxx, NEUTRAL fall-backs being set :-(, and this problem possibly requires an action on your side.

We would be most grateful for any suggestions on how to solve the above problems.

Thanks so much and have a Happy New Year,

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

Hi,

We cannot reproduce this behavior on our test machines. How are you using the Updater in your installation project?

If the problem persists please send us the AIP (if it doesn't contain confidential information) or a small test case that reproduce this behavior to support at advancedinstaller dot com so we can investigate this issue.

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

Return to “Common Problems”