Jump to content

Issue with Windows 2008 R2 Unattended installation for Japanese Langua


Recommended Posts

Hi,

Need Guidance about how to overcome the unattended installation for Windows 2008 R2 for Japanese Language.

We are performing the unattended installation of Windows 2008 R2 using the tool called as CSP. which generate the answer File automatically asking for the few inputs like Language, time Zone, answer key, Windows Server Name, etc...

Since we need for japanese installation, i just downloaded the Japanese Operating System of windows server 2008 R2, and the tool generated the answer file.

When i ran the answer File, i was shocked to see that the installation is in English for Japanese Operating System. So i tired altering the answer file by changing the Input Locale to the Japanese.

<SetupUILanguage>

<UILanguage>0411</UILanguage> <!-- @@LANGUAGE_CODE -->

</SetupUILanguage>

<!--

InputLocale default set to 0409:00000409 match en-US,

see link for other language values

http://technet.microsoft.com/en-us/library/dd744319(WS.10).aspx

-->

<InputLocale>0411:00000411</InputLocale> <!-- @@LANGUAGE_CODE -->

<UserLocale>0411</UserLocale> <!-- @@LANGUAGE_CODE -->

<UILanguage>0411</UILanguage> <!-- @@LANGUAGE_CODE -->

<SystemLocale>0411</SystemLocale> <!-- @@LANGUAGE_CODE -->

</component>

Even after changing the input locale also, we found that the installation is in English. Can any one guide me what i need to do exactly, in order to obtain the installation in Japanese.

<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserData>

<AcceptEula>true</AcceptEula>

<!--

Optional FullName, Organization.

WillShowUI for ComputerName, ProductKey default to OnError

-->

<FullName>xxx</FullName> <!-- @@FULL_NAME -->

<Organization>xxx</Organization> <!-- @@ORGANIZATION_NAME -->

<ProductKey>

<!--

Default Key is "nokey" and "Never" WillShowUI

This works for Windows Server 2008 R2 trial ISOs

For Windows Server 2008 a key,

publically available in the KMS docs:

can be used to pass the winPE edit

When using a valid key, for auto

registration see the specialize pass below

and set SkipAutoActivation to false

-->

<WillShowUI>Never</WillShowUI> <!-- @@PRODUCT_SHOW_ERROR -->

<!-- no Product Key provided -->

</ProductKey>

</UserData>

<ImageInstall>

<OSImage>

<WillShowUI>OnError</WillShowUI>

<InstallToAvailablePartition>true</InstallToAvailablePartition>

<InstallFrom>

<MetaData>

<Key>/IMAGE/Name</Key>

<!-- Value string must match ISO media content -->

<Value>Windows Longhorn SERVERENTERPRISE</Value> <!-- @@WIN_ISO_MEDIA_INSTALL_OPTION -->

</MetaData>

</InstallFrom>

</OSImage>

</ImageInstall>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!--

NOTE: Networking is handled via post install scripting : IP static or DHCP, DNS, etc.

Adding xml networking components is not advisable.

-->

<!-- ComputerName can contain no more than 15 characters -->

<ComputerName>Administrator</ComputerName> <!-- @@COMPUTER_NAME -->

</component>

<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!-- SkipAutoActivation true/false, needs to be "false" for activation -->

<SkipAutoActivation>true</SkipAutoActivation> <!-- @@SKIP_AUTO_ACTIVATION -->

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Display>

<HorizontalResolution>1024</HorizontalResolution>

<VerticalResolution>768</VerticalResolution>

<ColorDepth>16</ColorDepth>

</Display>

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>3</LogonCount>

<Username>Administrator</Username>

<Password>

<!-- AutoLogon Administrator Password ADMIN-PW default: "unsecure" -->

<Value>xxxxxxx</Value> <!-- @@ADMIN_PW -->

</Password>

</AutoLogon>

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

<!-- Do Not change the CommandLine or Order value -->

<CommandLine>%WINDIR%\System32\cmd /c D:\postinstall\LinMin.cmd</CommandLine>

<Order>1</Order>

<Description>Post Install Scripting Trigger</Description>

</SynchronousCommand>

</FirstLogonCommands>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>false</SkipUserOOBE>

</OOBE>

<!-- TimeZone default: "Pacific Standard Time" -->

<TimeZone>Japan Standard Time</TimeZone> <!-- @@TIME_ZONE -->

<UserAccounts>

<AdministratorPassword>

<!-- Administrator Password ADMIN-PW default: "unsecure" -->

<Value>Passw0rd</Value> <!-- @@ADMIN_PW -->

</AdministratorPassword>

</UserAccounts>

</component>

</settings>

</unattend>

Thanks,

Edited by Vengada
Link to comment
Share on other sites


Tripredacus, I think the numbers are OK. At lease Windows System Image Manager accepts them.

Vengada, I suspect that the same information is needed in the oobeSystem pass as well as the windowsPE pass. My answer file (W7) has both. Perhaps the setup is in Japanese and the installed system is defaulting to English. Enjoy, John.

Link to comment
Share on other sites

Hi,

Thanks for the reply.

Do you want to set this tag also to ja-jp for installing in Japanese

<settings pass="oobeSystem"> which u want to be changed to

<settings pass="ja-jp">

Also let me if anything else need to be changed for the installation to happen in Japanese

Link to comment
Share on other sites

Vengada, I am not an expert but am reporting what works for me. This is the code in my answer file:

<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>0409:00000409</UserLocale>
</component>

As you can see, the JA-JP should be fine but as I said, 0411 is accepted by Windows System Image Manager and I assume it will be OK for Setup (but I have not tried it). I was hoping one of the real xml experts would respond and help you. What I said makes sense, but I cannot determine what else might be missing. I do recommend that you run Windows System Image Manager against your answer file and see if it finds any problems. Did the initial phases of your install show English or Japanese? My debug steps for the answer file is to do test installs on a Virtual Machine (I use VMware Player - FREE). I suggest you give a VM a try before you hit the HW. It would be quick to try 0411 vs JA-JP, for example. Also look at the unattend.chm (C:\Program Files\Windows AIK\Docs\CHMs) help file for the details on the xml code for the answer file. BTW, if you have additional problems/questions, please attach your complete answer file, of course with your private data obscured (PWs, Key, etc). The one above is missing some parts. Enjoy, John.

Link to comment
Share on other sites

John,

Thats my full answer file.

Either use the attachment system to attach the XML to your post, or paste your answer file in CODE tags. Copying plain-text off the forum can usually lead to formatting errors when pasted into Notepad, among other things. CODE tags help in that respect, but doesn't beat attaching the file directly.

Link to comment
Share on other sites

Vengada, that does not look like a valid answer file. It does not start out properly. I have attached mine with modifications. I have replaced information I do not want public with ????. The product key is the default one, so it is in the public anyway. My file probably has lots of stuff you do not need or want. Also remember that the answer file must be named as mine is - AutoUnattend.xml. Good luck and enjoy, John.

AutoUnattend.xml

Link to comment
Share on other sites

Hi,

Used the Same XML Answer File which u shared, when i tired to deploy it in the VM using the TOOL CSP.

Its throwing the error " Windows setup couldn't set the display language.

Pls refer the screenshot attached.

If i change the UI Language , to 0411:000000411 in XML File. the installation stops with the user response to select "NEXT"

Kindly refer the screenshot after modification.

If i manually select NEXT the installation proceeds, and it completes successfully in Japanese.

So is there any passing we need to do, in XML to select NEXT , or is there any other option that can be done, let us know.

Thanks.

post-359026-0-38198600-1344253020_thumb.

post-359026-0-07878000-1344253040_thumb.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...