Installer Does Not Detect Windows Display Language - Advanced Installer Community
gopinathrbe
Posts: 60
Joined: Fri Sep 22, 2023 8:14 am

Installer Does Not Detect Windows Display Language

LanguageTab-En.png
LanguageTab-En.png (17.84 KiB) Viewed 25157 times
LanguageTab.png
LanguageTab.png (18.25 KiB) Viewed 25160 times
How can we make the installer detect the Windows display language?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Does Not Detect Windows Display Language

Hello,

Regarding the automatic language detection, we have only two options:

1. the system language

2. the current user language

For the setup to automatically detect what you require, we need to use the second option.
Screenshot_154.png
Screenshot_154.png (16.75 KiB) Viewed 25141 times

By doing so, if the display language is set to "French (France)" then the setup will automatically detect it.
Screenshot_155.png
Screenshot_155.png (9.39 KiB) Viewed 25141 times
Screenshot_156.png
Screenshot_156.png (60.78 KiB) Viewed 25141 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gopinathrbe
Posts: 60
Joined: Fri Sep 22, 2023 8:14 am

Re: Installer Does Not Detect Windows Display Language

Not detecting the changed Windows display language.
NotDetected.png
NotDetected.png (116.57 KiB) Viewed 25124 times
Detection works only after changing the Regional Format.
Attachments
NotDetected2.png
NotDetected2.png (35.48 KiB) Viewed 25124 times
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Does Not Detect Windows Display Language

Hello,

You are indeed right about the Regional Format.

This function returns the language identifier for the current user as set under Control Panel > Clock and Region > Change date, time, or number formats > Formats tab > Format dropdown.

For some reason, when I tested this, the Regional Format must have been changed automatically because I do not recall manually changing it on the VM I had tested this on.

That being said, I think we might not have predefined support for the "Windows display language".

I will add this on our TODO list and hopefully it will be added in a future version of Advanced Installer.

Until then, I think the best approach would be to display the language selection dialog to the user so that he can choose what language he wants the setup in.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gopinathrbe
Posts: 60
Joined: Fri Sep 22, 2023 8:14 am

Re: Installer Does Not Detect Windows Display Language

AI_BOOTSTRAPPERLANG: If we choose the Auto Detection option, the AI_BOOTSTRAPPERLANG property is not updated. Is this the expected behavior?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Does Not Detect Windows Display Language

Hello,

If I'm not mistaken, AI_BOOTSTRAPPERLANG is only set when you use the language selection dialog.

Regarding this request, please note I have discussed with the developer and we will try to implement this for our next release.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gopinathrbe
Posts: 60
Joined: Fri Sep 22, 2023 8:14 am

Re: Installer Does Not Detect Windows Display Language

any alternative property to use?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Does Not Detect Windows Display Language

Hello,

I'm afraid not.

Things are a bit more complicated when it comes to the EXE bootstrapper. Usually, at that stage, properties are not even available as the MSI installation itself did not start.

The good news is that, from what I can see, the dev is already working on this improvement and it should be available in our next release (scheduled in around 10 days).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Does Not Detect Windows Display Language

Hello,

This improvement has been added in version 24.0 of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”