locked
[SOLVED] Applying Language and Locale Settings in unattended installation (Windows 7) RRS feed

  • Question

  • I have deployed my system image copying my answer file (unattend.xml) in install.wim (%WINDIR%\Panther).

    The installation is actually unattended, but setup still asks to select Language and Locale Settings even if they're specified in the answer file:

      <settings pass="windowsPE">
        <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>
          <UILanguage>en-US</UILanguage>
          <UserLocale>it-IT</UserLocale>
          <SystemLocale>en-US</SystemLocale>
          <InputLocale>0410:00000410</InputLocale>
        </component>

    Any idea?


    • Edited by Mvp77 Wednesday, February 17, 2016 2:30 PM
    Thursday, March 19, 2015 2:25 PM

Answers

  • Settings path for WinPE is only processed when the PE is booted. Try using the same objects but in the OOBE pass instead.

    • Marked as answer by Mvp77 Wednesday, February 17, 2016 2:27 PM
    Friday, March 20, 2015 3:30 PM
  • Post your full XML (remove passwords, productkeys, etc)... as the one in your first post is malformed.

    Or, validate the answer file in WSIM against the .WIM file itself.

    • Marked as answer by Karen Hu Wednesday, April 29, 2015 9:34 AM
    Tuesday, April 7, 2015 3:44 PM

All replies

  • Put the file in C:\Windows\System32\sysprep\unattend.xml and see if it makes a difference.

    Also I recommend you use DISM to do your deployments.

    Thursday, March 19, 2015 3:13 PM
  • Hi, I use Diskpart to have more control in partitioning disk so I apply the image directly in WinPE.

    I tried to apply answer file to image using DISM in offline mode but as I wrote (https://social.technet.microsoft.com/Forums/windows/en-US/4bcb02b1-e0ae-451d-a3a1-98680f205db2/how-can-i-use-dism-applyunattend?forum=w8itproinstall#ab1a9c44-0a67-476e-96b1-3a31882a708b) it doesn't work (no unattended installation).

    I put the unattend.xml in sysprep folder and it didn't work (no unattended installation).

    The procedure I applied is well documented by Microsoft itself.

    So I cannot understand why setup reads only a part of the answer file; I can use the same file, rename it to autounattend.xml, copy it in the dvd root, start the classic setup and everything goes fine.

    Microsoft's world  is so mysterious...



    • Edited by Mvp77 Wednesday, April 1, 2015 9:29 AM
    Friday, March 20, 2015 10:27 AM
  • Settings path for WinPE is only processed when the PE is booted. Try using the same objects but in the OOBE pass instead.

    • Marked as answer by Mvp77 Wednesday, February 17, 2016 2:27 PM
    Friday, March 20, 2015 3:30 PM
  • I tried and received setup error (oobe).
    Monday, April 6, 2015 12:19 PM
  • What was the error you received?

    Also, make sure your processorArchitecture is the same for each section in your answer file. If it is all for amd64 and you accidently made one for x86 (or the other way around) it can seem like only part of the XML is being used.

    Monday, April 6, 2015 4:04 PM
  • Windows cannot parse or process unattend answer file for pass [oobe] etc.

    Tuesday, April 7, 2015 8:53 AM
  • Post your full XML (remove passwords, productkeys, etc)... as the one in your first post is malformed.

    Or, validate the answer file in WSIM against the .WIM file itself.

    • Marked as answer by Karen Hu Wednesday, April 29, 2015 9:34 AM
    Tuesday, April 7, 2015 3:44 PM
  • Yes OOBE pass (Microsoft-Windows-International-Core) is needed.
    Wednesday, February 17, 2016 2:28 PM