PDA

View Full Version : Inconsistent Language IDs



oddys4
01-16-2009, 09:20 PM
if (SELECTED_LANGUAGE != SYSINFO.nSystemDefaultUILangID) then
NumToStr( szTemp2, SELECTED_LANGUAGE ); //9
MessageBox(szTemp2, WARNING);
NumToStr( szTemp1, SYSINFO.nSystemDefaultUILangID ); //1033
MessageBox(szTemp1, WARNING);
MessageBox(@NONDEFAULT_LANG_MSG, WARNING);
endif;


OK, so they are both really English. I selected English and my system is English. I don't understand why the selected language comes back as 9, and nSystemDefaultUILangID comes back as 1033. What's going on?
I checked topic "language identifier", and it looks like the 9 is a chopped version of 0x0409, and 1033 is for MSI; however, I'm developing in installscript!

Thanks! any help would be much appreciated.

RobertDickau
01-22-2009, 01:04 PM
(Follow-up of sorts here.)