anyweb Posted March 6, 2012 Report post Posted March 6, 2012 This post is an addition to Part 4 where we installed Language packs on a one-by-one basis (i.e. one language pack selected, one installed, one keyboard layout selected, one installed). What if you want to install multiple Language packs and multiple Keyboard Layouts well this is how to do it...but before we continue, make sure you have successfully completed Part 4 before attempting this. To make this possible I adapted the windows-noob.com Multipurpose FrontEnd HTA so that i could select Multiple languages and Multiple Keyboard Layouts, this change is only a minor one to both the backend script (HTA) and the task sequence itself, so rather than explain all about them i'll post this bits you need to know here. Also, I havn't ported these changes yet *but will soon* into the BitLocker Frontend HTA which I think looks much cooler, so I hope that you check that one out also. So where do we start, with the actual frontend HTA backend code.. aka, the HTA itself. The following section has been changed in the Deploymenu.HTA file, <tr> <td class="taskTableLeftCell" >Regional Settings</td> <td colspan="3" class="taskTableSpanSecondAndThirdCell"> <select name="regionDropDown" id="regionDropDown"> <option value="None">None</option> <option value="Multi">Multi</option> <option value="En-US">En-US</option> <option value="sv-SE">sv-SE</option> <option value="da-DK">da-DK</option> <option value="nb-NO">nb-NO</option> <option value="fi-FI">fi-FI</option> </select> </td> </tr> <tr> <td class="taskTableLeftCell" >Language Settings</td> <td colspan="3" class="taskTableSpanSecondAndThirdCell"> <select name="languageDropDown" id="languageDropDown"> <option value="None">None</option> <option value="Multi">Multi</option> <option value="English">English</option> <option value="Swedish">Swedish</option> <option value="Danish">Danish</option> <option value="Norwegian">Norwegian</option> <option value="Finnish">Finnish</option> </select> </td> </tr> the new bits in both drop down menus (regional/language) are this <option value="None">None</option> <option value="Multi">Multi</option> and they offer us the ability to set nothing (and get the default en-US/English) or to select Multi or to select ONE language or ONE keyboard layout. The MULTI option is special. It simply sets a variable which will run a group of steps to select multiple languages and/or keyboard layouts in the task sequence. The screenshot below shows both Regional (keyboard layout) and Language options have been set to Multi via the drop down menu. Setting the Regional options If we select Multi for Regional options then the following group is run in the task sequence the Options tab is where it detects the RegionValue variable value and if it equals Multi this group is executed the first step of the group sets the OSDInputLocale variable and it sets the Default keyboard layout (the first one listed) and the remaining available keyboards added to windows the values in that step are as follows en-US;0409:00000409;da-DK;0406:00000406;fi-FI;040b:0000040b;sv-SE;041d:0000041d;nb-NO;0414:00000414 Note: You can get a list of these values on MSDN here. the remaining steps of this group simply set OSDSystemLocale and OSDUserLocale to be equal to en-US. Setting the Language options The first step of this group (which only runs if the LanguageValue variable=Multi) is to set the OSDUILanguage, I set it to en-US. The next step installs the Language pack offline. The only magic here is in the language package, it must contain ALL of the language packs you intend to install as part of your Multi Language installation, so in my example I install 4 languages, Swedish Danish Finnish Norwegian and all those language packs are in my Offline Nordic Language Pack. Your multi language pack could contain however many languages you intend to install as a group, but the more you add the longer the install will take. What is the result ? so what do you get when it's all done ? you get the ability to use a drop down keyboard selector on the Windows 7 login screen and you can choose the same keyboard layouts within Windows and the languages are available also jod done, i'd say :-) Download the goodies Here's the updated task sequence and HTA files, you dont have to use a HTA to set the variables you can do that via collection variables or some other method but doing it in a HTA is cool. People will like you more. DeployMenu.zip have fun ! cheers niall Quote Share this post Link to post Share on other sites More sharing options...
NavdeepSidhu Posted March 12, 2013 Report post Posted March 12, 2013 Hi Niall This is a brilliant post however I'm struggling to install Windows 7 language packs dynamically based on the collection variables. I have posted the question in TechNet forum & below is the link to my question http://social.technet.microsoft.com/Forums/en-US/configmanagerosd/thread/47c5b831-c362-4c61-8a36-515b3c0f9bab Can you please assist me in this regard. Quote Share this post Link to post Share on other sites More sharing options...
AJ82 Posted October 27, 2013 Report post Posted October 27, 2013 Has anyone told you that you guys are Google of SCCM... 1 Quote Share this post Link to post Share on other sites More sharing options...
Kingskawn Posted April 22, 2015 Report post Posted April 22, 2015 Hi anyweb, I'm trying to figure out how I can put an extra keyboard layout without hta. Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted April 22, 2015 Report post Posted April 22, 2015 use computer variables or collection variables Quote Share this post Link to post Share on other sites More sharing options...
baatch Posted May 23, 2016 Report post Posted May 23, 2016 Hi Nial, Just wondering why it is nessecary to add InputLocale with both values en-US and 0409:00000409? Wouldn't just en-US be enough? Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted May 23, 2016 Report post Posted May 23, 2016 try it, it's a looooooooooong time since i did this post and i guess it was necessary for me then, however i'm always happy to be corrected Quote Share this post Link to post Share on other sites More sharing options...