none
Autounattend.xml - Set Language to English - Australia (en-AU)

    Question

  • Hi all,

    Am trying to use the AIK's WSIM application to make my own Autounattend.xml file. This file, along with the Windows install source, is copied onto a USB stick / thumb drive, and the PC is booted from that drive to install Windows 7. Note that there is no WDS, no MDS or anything else in use here.

    The Autounattend.xml works in general, in that I can use it set disk partitions, accept the EULA and enter the license key. What does not work is the language and localisation - what I'm trying to set is:

    • Input locale: en-AU (or 0c09:00000409)
    • System locale: en-AU
    • UI Language: en-AU
    • UI Language Fallback: en-US
    • User locale: en-AU
    • Setup UI Language (winPE only): en-US

    I've tried setting this in the following passes:

    • windowsPE: Microsoft-Windows-International-Core-winPE
    • specialize: Microsoft-Windows-International-Core
    • oobeSystem: Microsoft-Windows-International-Core

    It does not work: both the language / locale dialogs (one at the very start of setup, before the "Install Now ->" screen; and the other at the very end jus before the desktop appears) still appear, and still default to en-US for everything.

    Help! There seem to be various other posts (here and elsewhere) about this, but no resolution for the USB-only scenario. Similar issue seems to exist for en-GB.

    Even if I set everything to en-US, the langauge prompts still appear.

    Thanks

    Lukas

    Tuesday, February 07, 2012 12:41 AM

All replies

  • Latest version of Autounattend.xml file (en-AU set in all 3 places):

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <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">
                <DiskConfiguration>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Extend>true</Extend>
                                <Order>1</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>Boot</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                </UserData>
            </component>
            <component name="Microsoft-Windows-International-Core-WinPE" 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">
                <SetupUILanguage>
                    <UILanguage>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>0c09:00000409</InputLocale>
                <SystemLocale>en-AU</SystemLocale>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UILanguage>en-AU</UILanguage>
                <UserLocale>en-AU</UserLocale>
            </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">
                <ProductKey>AAAAA-AAAAA-AAAAA-AAAAA-AAAAA</ProductKey>
                <RegisteredOrganization>Org</RegisteredOrganization>
                <RegisteredOwner>Owner</RegisteredOwner>
            </component>
            <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">
                <InputLocale>0c09:00000409</InputLocale>
                <SystemLocale>en-AU</SystemLocale>
                <UILanguage>en-AU</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-AU</UserLocale>
            </component>
        </settings>
        <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">
                <InputLocale>0c09:00000409</InputLocale>
                <UILanguage>en-AU</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-AU</UserLocale>
                <SystemLocale>en-AU</SystemLocale>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:c:/windows%207%20setup/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>


    • Edited by Lukasland Tuesday, February 07, 2012 12:45 AM
    Tuesday, February 07, 2012 12:43 AM
  • Hi,

    You may refer to the similar thread below.

    http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/ff5da48c-b8cf-4021-852b-316eb3c2defd 


    Juke Chou

    TechNet Community Support

    Sunday, February 12, 2012 4:12 PM
    Moderator
  • Thanks - found and tried that one already, using both en-GB and en-AU; but still no dice.

    Ended up not worrying about it - it was quicker for the admin to set it at install time (when they are already entering domain admin passwords etc) than spend hours upon hours messing with it while creating answer files.

    We do use exactly the same answer file as unattend.xml when capturing an image (with drivers, apps, etc) into WDS, and those WDS deployed images then don't ask for locale (or anything else), so it does seem to work when deploying that way. Caveat could be that the image already has a locale set (manually, during the initial USB install), and it's just re-using that setting.

    Lukas

    Tuesday, February 21, 2012 9:40 PM