Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining Windows XP Language

Status
Not open for further replies.
Oct 20, 2003
17
ES
Hi all,

I know you can check the version of windows you are using by checking out the properties of the winver.exe file. (there's a language field in the Version tab of the Properties window)

I need to be able to check the language by doing one of the following (they are the options in a tool I am using to distribute microsoft patches):
-By checking for a particular registry key, or the value of the registry key
-By checking for the existance of a file, it's versión, it's timestamp, or it's size.

We have machines running English Multilingual, Spanish, Czech, Italian, Portugese and Portugese (Brasil), so I'm going to need to check for all of these (so the tool can launch the correct patches on each PC).

Can anybody help? I've searched and searched, but apart from the winver.exe properties trick, I haven't found anything.

Thanks in advance.
 
You could use the reg entrys in
HKCU\Keyboard Layout\Preload
 
I thought of that, but it won't do. As an example, I have an english installation, but use a spanish keyboard.

I also thought about checking for the folders:
"Program Files" ENG
"Archivos de Programa" SPA
"archivi di programi" -my guess of the ITA versión :)

but this wont do either. Some apps, if installed in the default path will create one of these folders if it doesnt exist.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top