Programatically install supplemental languages...

I'm trying to write a script to install the two supplemental languages (the two check boxs in the 'Languages' tab of 'Regional and Language Options') but i don't know how to install them from a command line...

I know you can create an unattended file to be executed post sysprep/windows setup, but I don't know how I would populate these fields...

Language = locale ID
LanguageGroup = language group ID, language group ID
SystemLocale = locale ID
UserLocale = locale ID
InputLocale = locale ID:keyboard layout ID, locale ID:keyboard layout ID
UserLocale_DefaultUser = locale ID
InputLocale_DefaultUser = locale ID:keyboard layout ID

I am using this table: to get the ID codes etc, but I have no idea which value corresponds to what field...

I need to install one of the languages from each check box for the whole lanuage areas to install (installing Chinese and Thia will tick those two check boxs). Once this unattended file is populated properly, I am told to run the following command:

rundll32.exe shell32,Control_RunDLL intl.cpl,,/f:"c:\regopts.txt"                  <-(Where RegOpts.txt is the name of the unattend file)

Can anyone confirm this is the right method I should be taking, and elaborate further as to which codes I need to be using in what fields?

Any help will be greatly appreciated.

Thanks in advanced,

Who is Participating?
Here2HelpConnect With a Mentor Commented:

Download the XP Deployment Tools

Then look in the ref.chm File:

DjDezmondAuthor Commented:
Thanks, im just in the process of having a proper look at it.

Is this something you have done before? or is it just a link you found? I could do with a walkthrough of what codes I need to implement into the unnattend.txt and how to apply it to the current language setup.

When I posted the question I became side-tracked on another job i'm doing, so as soon as i get chance, i will return back to this topic.

If you cannot offer any more help, thats fine. Thanks for what you have already provided.

DjDezmondAuthor Commented:
Havn't had chance to play with this yet... but the question has been open long enough.

Thanks for your help
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.