blackpanda
Posts: 26
Joined: Mon Nov 05, 2018 3:52 am

ProductLanguage property is incorrect

I am building an installer with single package contains multi-languages. So I read the property ProductLanguage to determine which language selected. By this link https://www.advancedinstaller.com/user- ... guage.html the language code for Spanish (Spain - International sort) is 1034. But when I added a condition just like ProductLangauge = 1034 to run a sql script to init data in Spanish. this's always failed. Cost me several hours until I took a look and added a text box just show the language code selected. It showed me 3082. I had no idea how come. Is it a bug from AI or I misunderstood something???
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ProductLanguage property is incorrect

Hello,

Indeed, there seems to be a wrongly documented value into our user guide article. Please accept our apologies for this inconvenience.

We will try to update our user guide article as soon as possible, thank you for bringing this to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”