Offline Language Pack installation failing (OSD w/ MDT)
Hi all! I'm banging my head against an error and I'm hoping someone will see what I'm missing. I'm trying to set up our task sequence so that it will install the Spanish language pack on Windows 7 SP1 x64 Enterprise. I've created a task sequence and included steps to set languageValue=Spanish; UILanguage=es-es and install the language pack package. UILanguage is set by the variable %OSDUILanguage%. The task sequence seems to fail after setting the languageValue and UILanguage, but before starting the install the language pack. For instance, when checking C:\_smstasksequence directory I don't see the ZTIPatches.tmp or Packages directories. The error code it fails with is 0x00000001. A few notes: 1)The language pack is packaged with the source defined as a holding directory, rather than the core CAB file. Specifically, the package points to D:\Programs\Language Pack\Spanish. This folder contains a folder called es-es, which in turn contains the lp.cab file. 2)The offlineimage setting in the unattend_amd64.xml file doesn't point to a valid image location (does it need to?) 3)Eventually I'll need to deploy different language packs for different countries, but for now I'll be overjoyed to get one working! Much thanks for any advice you can give! Note: the files mentioned above are attached to this post: http://www.myitforum.com/forums/tm.aspx?tree=true&m=236896.
July 11th, 2012 12:20pm

My first thought would be that you are doing something wrong with setting variables and passing them on.. Just to be sure, you might want to check-out this great step-by-step: http://www.windows-noob.com/forums/index.php?/topic/3251-customising-windows-7-deployments-part-4/My Blog: http://www.petervanderwoude.nl/ Follow me on twitter: pvanderwoude
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2012 3:06pm

0x00000001 is an incorrect function. It sounds like something being passed is incorrect. What error do you have in smsts.log?
July 11th, 2012 3:06pm

Thanks, I'll double-check my TS for what could be causing the incorrect function error (I hadn't encountered error 0x00000001 before, wasn't sure what it meant). Strangely, I don't get an error in smsts.log. The last two tasks are setting languageValue and OSDUILanguage, both of which complete successfully. Then the log just ends, no mention of the language pack itself. Here are the log entries for the value commands: !--------------------------------------------------------------------------------------------! TSManager 7/10/2012 6:43:43 PM 1044 (0x0414) Expand a string: WinPEandFullOS TSManager 7/10/2012 6:43:43 PM 1044 (0x0414) Executing command line: tsenv.exe "languageValue=Spanish" TSManager 7/10/2012 6:43:43 PM 1044 (0x0414) Finished with error code 0 TSEnv 7/10/2012 6:43:43 PM 1932 (0x078C) Process completed with exit code 0 TSManager 7/10/2012 6:43:43 PM 1044 (0x0414) !--------------------------------------------------------------------------------------------! TSManager 7/10/2012 6:43:43 PM 1044 (0x0414) !--------------------------------------------------------------------------------------------! TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Expand a string: WinPEandFullOS TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Executing command line: tsenv.exe "OSDUILanguage=es-es" TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Finished with error code 0 TSEnv 7/10/2012 6:43:44 PM 1940 (0x0794) Process completed with exit code 0 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) !--------------------------------------------------------------------------------------------! TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Then the log ends like this: Successfully complete the action (Set OSDUILanguage to Spanish) with the exit win32 code 0 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Sending status message . . . TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Send a task execution status message SMS_TSExecution_ActionCompleteInfo TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) MP server amerssccm2.usa.corp.norgren.com and port 80. SSL=false. CRL=false. TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Site code: 112 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Client machine name: MXPMUR07091300 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Client Identity: GUID:2FEE13E8-9B18-4197-816A-FC719ECB6547 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Advertisement ID: 11220023 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Package ID: 11100056 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Sending StatusMessage TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Formatted header: TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>709DC6F9-A7E4-4F74-81B2-2BA835B2A4CA</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-07-11T00:43:44Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2224"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) CLibSMSMessageWinHttpTransport::Send: URL: amerssccm2.usa.corp.norgren.com:80 CCM_POST /ccm_system/request TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) The request has succeeded. 200 OK TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 7/10/2012 6:43:44 PM 1044 (0x0414) Expand a string: %_SMSTSMDataPath%\Logs TSManager 7/10/2012 6:43:44 PM 1044 (0x0414)
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2012 4:38pm

do you have more than 1gb of ram in the machine you are testing this with ? Step by Step ConfigMgr 2007 Guides | Step by Step ConfigMgr 2012 Guides | I'm on Twitter > ncbrady
July 11th, 2012 4:49pm

Um, it does now :). The test system originally only had 1GB of RAM, I've increased it 4GB. The task sequence failed again, though. I think I'm going to try recreated the LP package in case there's a problem with it. It's a longshot, but it might explain why it suddently just dies.
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2012 6:10pm

Just as a test, you could remove the step to set the variable and just see if the language pack will install offline. If it does that will tell you your lp package is setup correctly. Once you eliminate the package as a problem, you could add a step to set a variable called UILanguage with a value of es-ES and set a condition on the Install Language Pack offline to only run if the UILanguage is es-ES. If that works, you will have eliminated the package and conditions. You will only need add logic to determine what UILanguage a machine should use like a collection variable or gather step running a stored procedure.
July 11th, 2012 7:47pm

you can pause the task sequence before and after the offline language pack steps (press f8, or use a msgbox script as a pause..) and monitor the unattend.xml file, do you see any changes occurring in that file as i describe in this post ? Step by Step ConfigMgr 2007 Guides | Step by Step ConfigMgr 2012 Guides | I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 4:57am

The value for DeployRoot is set by the Use Toolkit step. Do you have a Use Toolkit step before the install Language Packs Offline? To get a list task sequence variables, I use a script from Michael Niehaus. Below is a link to it. http://blogs.technet.com/b/mniehaus/archive/2010/04/26/dumping-task-sequence-variables.aspx
July 13th, 2012 9:22am

Although you have the MDT integration installed (as you are using the MDT offline language pack TS action)... can you confirm that this task sequence was created using one of the MDT templates (eg. right click task sequence node and select "Create MDT Task Sequence"). If it was then you should have the Use Toolkit action (plus other MDT custom steps) in the sequence already. Mark.
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 11:26am

I just created a task sequence using the MDT wizard, and the original TS I was working with definitely wasn't created this way! I'm updating it now to include the language pack steps. Another noob question: Can I remove sections of the MDT Task Sequence? Specifically, I'd like to remove the State Capture, State Restore and Capture Reference Image sections. From the looks of it I think it would be OK, but I'd like to be sure. Again, thanks to everyone for helping out! Our SCCM architect left about six months ago and I've been asked to get this working. I had never worked with SCCM/SMS before so I'm trying to learn as fast as I can.
July 13th, 2012 1:02pm

You can delete them. However, I would just disable them. That way you can enable and use them later if you need. You can disable a group or step by selecting it and clicking options. You will see disable at the top.
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 2:49pm

Thanks for the advice (great post, btw), I think I'm getting closer to the problem. I checked the c:\windows\panther\unattend\unattend.xml file and none of the values are set. They still appear with the variables listed (see below). I'm not sure why, though, as there are still no errors in the smsts.log file and there's no packages or ZTIPatches.tmp directories. Maybe I'm missing a basic step somewhere, but I seem to have everything listed in the post. Here's what the unattend.xml file contains: <?xml version="1.0" ?> - <unattend xmlns="urn:schemas-microsoft-com:unattend"> <cpi:offlineImage cpi:source="wim://amerssccm1/deploymentshare$/images/win7x64/win7x64entsp1_ie8.wim#2" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> - <settings xmlns="urn:schemas-microsoft-com:unattend" pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <OOBE> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <HideEULAPage>true</HideEULAPage> </OOBE> <TimeZone>Mountain Standard Time</TimeZone> <RegisteredOrganization>Norgren Global IT</RegisteredOrganization> - <UserAccounts> - <AdministratorPassword> <Value>aQB0AHAAYwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAAAAA==</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> <RegisteredOwner>Norgren</RegisteredOwner> </component> - <component name="Microsoft-Windows-International-Core" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SystemLocale>%OSDSystemLocale%</SystemLocale> <UserLocale>%OSDUserLocale%</UserLocale> <UILanguage>%OSDUILanguage%</UILanguage> <InputLocale>%OSDInputLocale%</InputLocale> <UILanguageFallback>%OSDUILanguageFallback%</UILanguageFallback> </component> </settings> - <settings xmlns="urn:schemas-microsoft-com:unattend" pass="specialize"> - <component name="Microsoft-Windows-UnattendedJoin" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <Identification> <JoinWorkgroup>WORKGROUP</JoinWorkgroup> </Identification> </component> - <component name="Microsoft-Windows-Deployment" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <RunSynchronous> - <RunSynchronousCommand> <Order>1</Order> <Description>disable user account page</Description> <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path> </RunSynchronousCommand> </RunSynchronous> </component> - <component name="Microsoft-Windows-Shell-Setup" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>USLITLTC010FV1</ComputerName> </component> </settings> </unattend>
July 13th, 2012 4:55pm

One more note: I disabled the steps that set the languageValue and OSDUILanguage values and the task sequence failed at the same point. Maybe the problem is with the Unattend.xml file? It's pretty simple, here it is: <?xml version="1.0" encoding="utf-8" ?> - <unattend xmlns="urn:schemas-microsoft-com:unattend"> - <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>%OSDInputLocale%</InputLocale> <SystemLocale>%OSDSystemLocale%</SystemLocale> <UILanguage>%OSDUILanguage%</UILanguage> <UILanguageFallback>%OSDUILanguageFallback%</UILanguageFallback> <UserLocale>%OSDUserLocale%</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim://amerssccm1/deploymentshare$/images/win7x64/win7x64entsp1_ie8.wim#2" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 5:23pm

are you sure it's a X64 image and not X86 ? Step by Step ConfigMgr 2007 Guides | Step by Step ConfigMgr 2012 Guides | I'm on Twitter > ncbrady
July 13th, 2012 5:36pm

It's definitely an image of Windows 7 Enterprise x64 SP1, booting on WinPE x64. I can try it with a x86 file though, just to be sure that's not the issue. EDIT: BTW, thanks for responding, I greatly appreciate the help!
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 5:38pm

the posted smsts.log above doesn't include the incorrect function error which probably means you are looking at the wrong log file,so you need to find the correct and current smsts.log file which actually records the error, it's not that hard you just have to look in a few places:- SMSTS Log File location If the task sequence completes when running in the full operating system with a Configuration Manager 2007 client installed on the computer: <CCM Install Dir>\Logs If the task sequence completes when running in the full operating system with no Configuration Manager 2007 client installed on the computer: %Temp%\SMSTSLOG If the task sequence completes when running in Windows PE: <largest fixed partition>\SMSTSLOG Note: In addition, the logs for SCCM (during the Windows PE phase) are stored in X:\Windows\Temp\SMSTSLog\ and C:\SMSTSLog and C:\_SMSTaskSequence. Step by Step ConfigMgr 2007 Guides | Step by Step ConfigMgr 2012 Guides | I'm on Twitter > ncbrady
July 13th, 2012 5:53pm

EUREKA, IT WORKED! The lack of an MDT task sequence appears to have been the biggest issue, although I found several others thanks to this thread. Thanks again to everyone who helped!!
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 6:31pm

Sure enough! I found the error in the log in X:\Windows\Temp\SMSTSLog\. It looks like this is the culprit: Input Error: Can not find script file "\\AMERSSCCM2.USA.CORP.NORGREN.COM\SMSPKGD$\11100071\%DeployRoot%\Scripts\ZTIPatches.wsf". This may be a total noob question, but how can I find what the %DeployRoot% value is set to? The 11100071 package folder just includes the language pack. P.S. I've also updated the attachment to the ITForum post with the new log file: http://www.myitforum.com/Forums/tm.aspx?tree=true&high=&m=236896&mpage=1#236896
July 13th, 2012 6:38pm

guess what, you don't need a true MDT task sequence, just load the MDT Toolkit package (as a step) prior to doing the offline languages step, then it'll work just fine as it will find the ztipatches.wsf file in the scripts dir.. Step by Step ConfigMgr 2007 Guides | Step by Step ConfigMgr 2012 Guides | I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 6:57pm

That is good news. Glad it is working for you now.
July 13th, 2012 8:27pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics