OSD TS Variables not updating unattend.xml
I am setting up a task sequence to deploy a sysprepped image of Windows 7 with multiple languages. I have read various articles about populating variables in the unattend.xml file using TS variables. I just cannot get this to work..... Config is as follows
:-
Task Sequence "Apply Operating System" is set to my sysprepped Windows 7 image. I have selected to use a custom unattend.xml and this contains the following :-
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" 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>%OSDInputLocale%</InputLocale>
<SystemLocale>%OSDSystemLocale%</SystemLocale>
<UILanguage>%OSDUILanguage%</UILanguage>
<UILanguageFallback>%OSDUILanguageFallback%</UILanguageFallback>
<UserLocale>%OSDUserLocale%</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://sccm/sources/os/7/rtm/x86/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
I have tried setting the variables in both the task sequence and in the collection of my test PC. However, they never get populated.
The log file "c:\windows\panther\unattendGC\setuperr.log contains :-
2011-03-12 14:40:57, Error [MUIUNATTEND.EXE] UILanguage is not installed in the system: %OSDUILanguage%. error: 87
2011-03-12 14:40:58, Error [MUIUNATTEND.EXE] Failed to set system locale to "%OSDSystemLocale%".
2011-03-12 14:40:58, Error [MUIUNATTEND.EXE] Failed in setting current user locale to %OSDUserLocale%. Error code is 0x7b
2011-03-12 14:40:58, Error [MUIUNATTEND.EXE] Failed to set user locale to "%OSDUserLocale%", or fail to apply the same
settings to default user accont/system accounts/new user account. Error code is 0x7b.
This appears to show that none of the variables have been substituted.
Any advice on how to troubleshoot this is greatly appreciated!
March 12th, 2011 7:51pm
hi there, this is how I deploy languages, note that they are deployed Offline as part of the installation
does this help ?
cheers
niall
Customising Windows 7 deployments - part 4.
Deploying Language Packs Offline using MDT 2010 Update 1
My step by step
SCCM Guides
I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2011 8:27pm
That is not strange. During the installation on the client side the system cannot recognize the variables. The unattended answer file is actually referred by the client computer but not by the host.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Sure, but the Windows 7 installation is still referring to the % variables in the xml file since they have not been replaced by task sequence variable values? Is there a a log file or a way to troubleshoot when this substitution should take place?
Thanks.
March 20th, 2011 5:40am
It's odd. I just cant figure out why the variables are not being updated by SCCM. I can always write a script to do it, but it seems to be a backward step......
Free Windows Admin Tool Kit Click here and download it now
March 20th, 2011 7:33am
That is not strange. During the installation on the client side the system cannot recognize the variables. The unattended answer file is actually referred by the client computer but not by the host.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
March 20th, 2011 8:57am