locked
SCCM R2 Sp2 & MDT 2010: Windows 7, Install Language Packs RRS feed

  • Question

  • HI @ all,

    My Infrastructure:

    SCCM R2 SP2, Server 2008 R2, MDT 2010, Windows 7 Enterprise

    I´ve tried to install a languge pack for Windows 7 during OSD phase by using MDT Task "Install Language Pack offline or online (after Reboot).
    I have created a new package with the language pack files (3 lp.cabs in different folders).

    Does anyone tested this task succesfully ? 

    thanks in advance.

    regards
    tom

    I get
    Tuesday, November 3, 2009 9:40 AM

Answers

  • Hi,

    after adding the tasks in following order the language packs would be installed:

    .
    .
    .
    - Apply Operating System
    - Use Toolkit Package
    - Gather
    - Install Language Packs Offline
    .
    .
    .

    Regards,
    Tom
    • Marked as answer by Tom Baumann Tuesday, November 3, 2009 6:03 PM
    Tuesday, November 3, 2009 6:03 PM

All replies

  • Hello Tom,

    I haven't tested it with a MDT Task but I use a command line script to install language packs. Please see:

    http://www.maijen.nl/index.php?option=com_content&view=article&id=77:windows-server-2008-how-to-install-a-language-packs-mui&catid=40:microsoft-windows-server-2008&Itemid=55

    Regards Robert
    Tuesday, November 3, 2009 9:45 AM
  • Hi Tom,

    It is a bug in MDT 2010 RTM... I discovered this issue a few weeks ago and raised it with MDT team.  We discovered a couple of issues with ZtiPatches.wsf.

    The first was that there is a line in the script which does a case sensitive check for the path "windows\panther\unattend" within the variable sUnattendxml.  The value of sUnattendxml in my case was "C:\WINDOWS\Panther\unattend\unattend.xml".  As WINDOWS is in uppercase the case sensitive InStr function call failed.  To fix this issue change the line:

    If UCase(oEnvironment.Item("DeploymentMethod")) = "SCCM" and Instr(1,sUnattendxml,"Windows\Panther\unattend") then

    to

    If UCase(oEnvironment.Item("DeploymentMethod")) = "SCCM" and Instr(1,sUnattendxml,"Windows\Panther\unattend",1) then

    This changes the InsStr function to case insensitve.


    The second issue is that there is a typo on the line:

    TraceAndLog iRetVal,"Run Command: " & sCmd

    Change this to:

    TestAndLog iRetVal,"Run Command: " & sCmd

    Edit your ZtiPatches.wsf to include these changes and update your MDT package on your DPs... that should fix it.  You might want to take a copy of the original file first.  I have not heard back from the MDT team as to whether this issue will be addressed in a future update.

    Regards,

    Mark.
    Tuesday, November 3, 2009 10:09 AM
  • Hi,

    thanks for all replies but the problem still exists. :-(

    after reading some posts i have noticed, that i can create a custom MDT TS by right click on the TS node in sccm console. :-)
    i dont need all the mdt task for my deployment. my first question: is it sufficient to call the "Use Toolkit Package" Task before calling
    "install lang. pack offline" task in my TS or do i need something else ?

    the mdt documentation says, that the task "install lang. pack offline" must be called immediately after the "Setup Windows and ConfigMgr" Task.
    i did it but i get another error "task must be calling in winpe". i added a restart computer task and reboot in die winPE and then the task for adding the language packs
    and then i got no error message. in the advertisement status i could see, that the different cab files (3 cabs) were copied to the _SMSTasksequence folder on the hdd, but
    no display message is available in the control panel.

    thanks in advance.

    best regards !
    tom
    Tuesday, November 3, 2009 4:33 PM
  • Hi,

    after adding the tasks in following order the language packs would be installed:

    .
    .
    .
    - Apply Operating System
    - Use Toolkit Package
    - Gather
    - Install Language Packs Offline
    .
    .
    .

    Regards,
    Tom
    • Marked as answer by Tom Baumann Tuesday, November 3, 2009 6:03 PM
    Tuesday, November 3, 2009 6:03 PM
  • Hi Mark

    Hi
    I have tried the solution with correcting the typos in the ztipatches file. But the problem is still there. I have added a language pack to the packages folder in WDT2010. Then in the unattended xml i have added the lang. pack to be installed. But when i do this the installation fails.
    If i remove it from the unattend file and instead add it manually during the setup then it applies fine.
    Do you have any idea what to do to fix this ??


    Saturday, December 19, 2009 10:34 AM
  • If you are using ConfigMgr with an MDT integrated task sequence you don't need to add the language pack to the packages folder in MDT or edit unattend.xml.

    Once you have fixed ztipatches.wsf then all you need to do is:

    1. Create a package in ConfigMgr containing your language pack.  The source directory structure is critical.  The root of the package should contain a subdirectory for the language.  The lp.cab should then be placed in the subdirectory.  For example:

    Package source = \\SiteServer\Packages\Languages\fr-fr

    Directories/files within package = \fr-fr\lp.cab

    Therefore the full path to the cab would be \\SiteServer\Packages\Languages\fr-fr\fr-fr\lp.cab

    2. Distribute the language package to your DPs.

    3. Use a MDT integrated Task Sequence

    4. Add a "Install Language Packs Offline" step to the TS (mine is between "Apply Windows Settings" and "Apply Network Settings").

    5. Configure the properties of this step to use your language pack package.  You could also set some options to filter the step on a specific TS variable if you want to control which clients execute the step.

    In the case of ConfigMgr with MDT that is all you should need to do...  let me know if this makes sense.  If you are not using ConfigMgr (just MDT workbench) then you might want to try the MDT forum (http://social.technet.microsoft.com/Forums/en-US/mdt/threads)

    Mark.
    Monday, December 21, 2009 9:58 AM
  • Hi Mark

    Thanks for the answer.
    Just to let you know i finnaly got it working. I am "just" using MDT 2010.
    This is how i got it working:
    1. i created a share on my software server: \\my-server\myshare\blah\blah\languagepacks\x64\da-dk and put the lp.cap file in there.
    2. i created an application with the following command: pkgmgr /ip /m:\\my-server\myshare\blah\blah\languagepacks\x64\da-dk /quiet /norestart
    3. make sure the package reboots after install.
    4. I installed the language pack between the two windows updates in  the Task Sequence and voila :-)


    /Knud
    Tuesday, December 22, 2009 3:22 PM
  • Hi guys,

    I have a question for you.   I have managed to get the Language installed on teh system, but i wonder if there is a command to make it the default language.  Seeing we will use this build in mulitiple countries. For example in Spain they want Spanish etc.  Any way of making it default?

    Thanks
    Thursday, January 21, 2010 8:33 AM
  • have you tried editing the language specific (locale) settings in unattend.xml using Windows SIM

    My step by step SCCM Guides
    I'm on Twitter
    Thursday, January 21, 2010 8:40 AM
  • Hi guys,
    I have a problem. I´ve tried to install a languge pack for Windows 7 during OSD phase by using SCCM Task Squences "Install Language Pack offline". But, it's not working. I have an error.
    I have created a new package with the language pack files (one lp.cab in a folders).

    Does anyone can help me please???

    Thanks for all.
    Thursday, January 28, 2010 10:17 AM
  • Hi Tom,
    I tried to do like you but i don't succeed. Can you explain me in detail please. Why you use Use Toolkit Package and Gather??

    Thank you for all.

    Regards,
    RJ
    Thursday, January 28, 2010 10:32 AM
  • Niall,
    Sorry for the late reply.  I am able to do it that way. However we use one image and one task for everyone, i do not want to create seperate tasks for each location (over 60). 

    Is there a registry key to make it default. I have tried HKUSERS/.Default/Keyboard Layout and Control Panel/International.  Doesnt work at all. 

    Any ideas?

    Tuesday, February 9, 2010 2:14 PM
  • you could use this method in conjunction with steps in the ts which could query for a collection variable, based upon the variable you set the locale etc in the ts, just a thought...

    My step by step SCCM Guides
    windows-noob on Twitter
    Saturday, February 13, 2010 5:07 PM
  • Hi all,


    My ZtiPatches.wsf looks like this


    If UCase(oEnvironment.Item("DeploymentMethod")) = "SCCM" and Instr(sUnattendxml,"Windows\Panther\unattend")

    No Instr(1,

    If UCase(oEnvironment.Item("DeploymentMethod")) = "SCCM" and Instr(1,sUnattendxml,"Windows\Panther\unattend") then

    Any comment?

    /SaiTech
    Wednesday, February 17, 2010 8:30 PM
  • Hi, Mark!

    I have done the steps you mention in this blog. I have SCCM R2 SP2, MD Tools 2010 and are not using workbench.

    I fixed the ZtiPatches.wsf and made a langauge package based on your structure.

    In the task seqeunce I put:
    -  Apply Operating System Image
    -  Apply WIndows Settings
    -  install MD 2010 Package (where the correct ZtiPatches.wsf exists)
    -  Install offline language pack : Package root \\server\SCCM_Source\OSSource\Windows 7\Languages\nb-no
    -  lp.cab exists in \\server\SCCM_Source\OSSource\Windows 7\Languages\nb-no\nb-no

    Error in ZTiPatches.log:

    Copy Folder: C:\_SMSTaskSequence\WDPackage\Servicing\ to C:\_SMSTaskSequence\Servicing ZTIPatches 23.02.2010 10:10:47 0 (0x0000)
    About to run command: "C:\_SMSTaskSequence\Servicing\pkgmgr.exe"  /o:\;\windows /n:"C:\WINDOWS\panther\unattend\unattend.xml" /l:C:\_SMSTaskSequence\SMSOSD\OSDLOGS\BDD_pkgmgr.log /s:C:\_SMSTaskSequence\Sandbox /quiet /norestart
    ZTI ERROR - Unhandled error returned by ZTIPatches: The system cannot find the file specified.
     (-2147024894  0x80070002)


    So what is WDPackage\Servicing? The only thing I can se in that directory is MDTools 2010 and it's not a part of MDTools

    Kind regards,
    Katrin



    Tuesday, February 23, 2010 12:14 PM
  • Hi Skarsb0 - I'm getting the same error, but I'm trying to install updates offline.
    Thursday, February 25, 2010 4:29 PM
  • hi mike are you installing any languages offline or just updates offline ? can you post the failure and explain to me how you created the task sequence and package for installing language

    I will investigate time willing...

    cheers
    niall

    My step by step SCCM Guides
    windows-noob on Twitter
    Thursday, February 25, 2010 5:29 PM
  • Yessir - here it is:

    <![LOG[Microsoft Deployment Toolkit version: 5.0.1641.0]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Property DestinationDisk is now = 0]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Property DestinationPartition is now = 1]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Property DestinationLogicalDrive is now = C:]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[ZTIPatches Entered PREINSTALL state. Deployment Method = SCCM]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Pre-Install setup installation state.]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Load XML....]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[FindFile: The file Packages.xml could not be found in any standard locations.]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Packages.xml not found.  Creating Packages.xml]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Creating new Package: C:\_SMSTaskSequence\packages.xml]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\14a7deff-3df4-43bf-9469-3b778eeb1ba2\Windows6.1-KB971468-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:38.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:39.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB971468]LOG]!><time="08:24:39.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\52a15a25-52cc-4b6f-9b8b-7ff474611b6a\Windows6.1-KB978262-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:39.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:39.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB978262]LOG]!><time="08:24:39.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\572921b1-37f7-4cd5-b66c-7c30cb6b38f9\Windows6.1-KB973525-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:39.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:40.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB973525]LOG]!><time="08:24:40.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\622dcf42-6fee-43cc-994d-abd8aac29d55\Windows6.1-KB972270-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:40.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:40.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB972270]LOG]!><time="08:24:40.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\763c80d0-dd81-490a-a85d-39a903325cee\Windows6.1-KB974571-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:41.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:41.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB974571]LOG]!><time="08:24:41.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\88f0ba40-22ac-4155-ac45-e078bb781d8a\Windows6.1-KB958690-x64-Beta.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:41.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:42.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB958690]LOG]!><time="08:24:42.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\b923939f-b82b-4f9d-9139-9d73f0f27cbe\Windows6.1-KB975560-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:42.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:42.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB975560]LOG]!><time="08:24:42.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\c398261c-d4a5-4012-9227-a25278e85c25\Windows6.1-KB978207-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:42.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:43.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB978207]LOG]!><time="08:24:43.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\c64189ff-fed4-4c85-bfe4-67603cb8d3f7\Windows6.1-KB976325-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:43.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:44.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB976325]LOG]!><time="08:24:44.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\e6f347cd-142f-4dd8-8a3f-1943b5d9df8c\Windows6.1-KB977894-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:44.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:44.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB977894]LOG]!><time="08:24:44.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\ec1a817a-a80c-4a93-ae53-00a6b853551e\Windows6.1-KB974455-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:44.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:45.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB974455]LOG]!><time="08:24:45.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\ece4935d-53e3-496a-a538-3b7e3e86a19d\Windows6.1-KB978251-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:45.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB978251]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\SMS.LAB.COM\sms_packages$\SMSPKG\SB10002E\ff370846-bb93-47c3-a37b-0357829a99d4\Windows6.1-KB975467-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB975467]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Adding non-language pack entries to unattend.xml]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[ Open Control File: Packages]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Adding language pack entries to unattend.xml]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Nothing to save, exit.]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Language pack entries added to unattend.xml successfully]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Copy Folder: C:\_SMSTaskSequence\WDPackage\Servicing\ to C:\_SMSTaskSequence\Servicing]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[FAILURE (Err): 76: Copy Folder: C:\_SMSTaskSequence\WDPackage\Servicing\ to C:\_SMSTaskSequence\Servicing - Path not found]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="2" thread="" file="ZTIPatches">
    <![LOG[About to run command: "C:\_SMSTaskSequence\Servicing\pkgmgr.exe"  /o:\;\windows /n:"C:\Windows\panther\unattend\unattend.xml" /l:C:\_SMSTaskSequence\SMSOSD\OSDLOGS\BDD_pkgmgr.log /s:C:\_SMSTaskSequence\Sandbox /quiet /norestart]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[ZTI ERROR - Unhandled error returned by ZTIPatches: The system cannot find the file specified.
     (-2147024894  0x80070002)]LOG]!><time="08:24:46.000+000" date="02-25-2010" component="ZTIPatches" context="" type="3" thread="" file="ZTIPatches">


    and my task sequence has Install Updates Offline right after the apply windows settings and before apply network settings.
    Thursday, February 25, 2010 9:32 PM
  • also I'm just installing updates offline, no language packages
    Thursday, February 25, 2010 9:32 PM
  • Hey guys - so I put the new steps in the order Tom has above and the task sequence doesn't fail anymore, but this is what I get in the logs now:

    <![LOG[Microsoft Deployment Toolkit version: 5.0.1641.0]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Property DestinationDisk is now = 0]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Property DestinationPartition is now = 1]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Property DestinationLogicalDrive is now = C:]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[ZTIPatches Entered PREINSTALL state. Deployment Method = SCCM]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Pre-Install setup installation state.]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Load XML....]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[FindFile: The file Packages.xml could not be found in any standard locations.]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Packages.xml not found.  Creating Packages.xml]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Creating new Package: C:\_SMSTaskSequence\packages.xml]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\14a7deff-3df4-43bf-9469-3b778eeb1ba2\Windows6.1-KB971468-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:12.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:13.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB971468]LOG]!><time="11:03:13.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\52a15a25-52cc-4b6f-9b8b-7ff474611b6a\Windows6.1-KB978262-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:13.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:13.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB978262]LOG]!><time="11:03:13.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\572921b1-37f7-4cd5-b66c-7c30cb6b38f9\Windows6.1-KB973525-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:13.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:14.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB973525]LOG]!><time="11:03:14.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\622dcf42-6fee-43cc-994d-abd8aac29d55\Windows6.1-KB972270-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:14.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:15.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB972270]LOG]!><time="11:03:15.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\763c80d0-dd81-490a-a85d-39a903325cee\Windows6.1-KB974571-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:15.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:15.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB974571]LOG]!><time="11:03:15.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\88f0ba40-22ac-4155-ac45-e078bb781d8a\Windows6.1-KB958690-x64-Beta.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:15.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:16.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB958690]LOG]!><time="11:03:16.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\b923939f-b82b-4f9d-9139-9d73f0f27cbe\Windows6.1-KB975560-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:16.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:16.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB975560]LOG]!><time="11:03:16.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\c398261c-d4a5-4012-9227-a25278e85c25\Windows6.1-KB978207-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:16.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:17.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB978207]LOG]!><time="11:03:17.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\c64189ff-fed4-4c85-bfe4-67603cb8d3f7\Windows6.1-KB976325-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:17.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:18.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB976325]LOG]!><time="11:03:18.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\e6f347cd-142f-4dd8-8a3f-1943b5d9df8c\Windows6.1-KB977894-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:18.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:18.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB977894]LOG]!><time="11:03:18.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\ec1a817a-a80c-4a93-ae53-00a6b853551e\Windows6.1-KB974455-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:19.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:19.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB974455]LOG]!><time="11:03:19.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\ece4935d-53e3-496a-a538-3b7e3e86a19d\Windows6.1-KB978251-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:19.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB978251]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: expand "\\sms.lab.com\sms_packages$\SMSPKG\SB10002E\ff370846-bb93-47c3-a37b-0357829a99d4\Windows6.1-KB975467-x64.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp"]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 0]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[     Create Package Item : Package_for_KB975467]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Adding non-language pack entries to unattend.xml]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[ Open Control File: Packages]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Adding language pack entries to unattend.xml]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Nothing to save, exit.]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Language pack entries added to unattend.xml successfully]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Copy Folder: C:\_SMSTaskSequence\WDPackage\Servicing\X86 to C:\_SMSTaskSequence\Servicing]LOG]!><time="11:03:20.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[About to run command: "C:\_SMSTaskSequence\Servicing\pkgmgr.exe"  /o:\;\windows /n:"C:\Windows\panther\unattend\unattend.xml" /l:C:\_SMSTaskSequence\SMSOSD\OSDLOGS\BDD_pkgmgr.log /s:C:\_SMSTaskSequence\Sandbox /quiet /norestart]LOG]!><time="11:03:21.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[Return code from command = 161]LOG]!><time="11:03:21.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[FAILURE: 161: Run Command: "C:\_SMSTaskSequence\Servicing\pkgmgr.exe"  /o:\;\windows /n:"C:\Windows\panther\unattend\unattend.xml" /l:C:\_SMSTaskSequence\SMSOSD\OSDLOGS\BDD_pkgmgr.log /s:C:\_SMSTaskSequence\Sandbox /quiet /norestart]LOG]!><time="11:03:21.000+000" date="03-18-2010" component="ZTIPatches" context="" type="2" thread="" file="ZTIPatches">
    <![LOG[Remove Folder: C:\_SMSTaskSequence\Sandbox]LOG]!><time="11:03:21.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    <![LOG[FAILURE: 161: Offline servicing using PKGMGR]LOG]!><time="11:03:21.000+000" date="03-18-2010" component="ZTIPatches" context="" type="2" thread="" file="ZTIPatches">
    <![LOG[ZTIPatches processing completed successfully.]LOG]!><time="11:03:21.000+000" date="03-18-2010" component="ZTIPatches" context="" type="1" thread="" file="ZTIPatches">
    Thursday, March 18, 2010 6:23 PM
  • I'm using the ZTIPatches.wsf fine as long as there is only one partition or the C: partition is larger than the second partition (D:) otherwise the Patches are downloaded to the second partition (D:) but to not get installed.

    Having two partitons is a business requirement.

    The path in the unattend.xml reflexs that the patches have been downloaded to the D: drive but they never get installed.

    Does anyone know to resolve this? situation?

    Thursday, April 1, 2010 2:29 AM
  • Eureka! Eureka!

    To all who has problem to "Install the language pack on Windows 7 by SCCM Deployment"

    I think it's a easy, quick, and safe method to install the Language Pack during the Windows deployment by SCCM. You need just copy the "Install.wim" file from your source OS in SCCM server  (somewhere like : "\\SCCM-SRV\OS-Share\Windows7\x64\sources\Install.wim" - this file is nearly 2.5 GB) and also the Language pack source file that you mentioned  (something like this : "E:\LanguagePack\sv-se\lp.cab") to a temp directory and apply the below link instruction:

    http://technet.microsoft.com/en-us/library/dd799306%28WS.10%29.aspx (go to : "Add a Language Pack to a Windows Image"

    then copy and replace the new "install.win" file to the original path again ("\\SCCM-SRV\OS-Share\Windows7\x64\sources\Install.wim")

    now at the end of the windows deployment by SCCM you can choose which language you prefer to use :)

    Good Luck :)

    Babak


    Monday, September 5, 2011 12:23 PM