Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Language and OS Settings


1 reply to this topic

mnocom

mnocom
  • Members
  • 6 posts

Posted 09 January 2002 - 02:24

I use this statement, GetSystemInfo(LANGUAGE, iResult, nvResult), to get the language setting of the OS, and convert it to a corresponding country.

Can InstallShield 5.53 determine languages specific to Malaysia and Philippines? If so, please provide the constants for these countries. Or is there a better way to determine the location (country) based on other machine resources?

Thank you very much for the help!


Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 15 January 2002 - 22:22

You can try calling this function:
LANGID GetSystemDefaultLangID(void);
from the Windows API.

prototype LONG KERNEL.GetSystemDefaultLangID();

Returning a LONG you can examine the value and compare it against identifiers for the specific language you want.

You can write a small install script to find out what values correspond to Malaysia and Phillipines and then check for them in your regular setup.