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

Operating System Language


4 replies to this topic

meemax

meemax
  • Members
  • 10 posts

Posted 14 September 2005 - 08:52

I need to get the language ID for the language version of Windows and not that of the current locale setting(as returned by GetSystemInfo(LANGUAGE, ...))... Is there any way I can get it in my script?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 September 2005 - 09:18

I think the most reliable way would be looking at the file version info of a operating system file such as user.exe or kernel.exe

meemax

meemax
  • Members
  • 10 posts

Posted 14 September 2005 - 12:39

I understand that there is a GetFileInfo to get file information. however, there is no option for the file's language. do you know how to go about this?

thanks a lot smile.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 September 2005 - 14:59

There's a sample script "Read ProductVersion from File" at http://www.installsi...en/isp_comp.htm . You may be able to tweak it to read the file language.

meemax

meemax
  • Members
  • 10 posts

Posted 15 September 2005 - 04:03

Thank you very very much!!!

Edited by meemax, 15 September 2005 - 04:04.