SOLVED: How to Slipstream / Inject Service Pack 1 for Windows 7 Into An Existing Offline RTM Build .WIM

Wow, there is a lot of misinformation out there.  Here is how I did slipstreamed Service Pack 1 into Windows 7 (and this should be the same process for Server 2008 R2).

These instructions require you to have WAIK – Windows Automated Install Kit, which you can get HERE.

PREWORK – Prepeing the SP1 To Be Used In OffLine Mode:
Note that some of this pre-work can apparently be done using THIS script file, but I have not tested it.

  1. Download Windows 7 Service Pack 1 and note that you do not need the SYMBOLS.  Just download the 32 or 64 bit version of the SP1
  2. Extract the output by adding the -X switch (i.e. windows6.1-KB976932-X64.exe -x )
  3. Select the folder you want to put it into when prompted
  4. Extract the contents of windows6.1-KB976932-X64.cab (using WinZip, WinRAR or whatever CAB extractor you like) into the SAME folder (i.e. NOT a subfolder).  This will take some time
  5. Extract the contents of NestedMPPContent.cab into the SAME folder
  6. Use Notepad (or similar program) to open update.ses and change the operationMode=”OfflineInstall” task to Installed .
    Note that I used NOTEPAD++ to edit mine because after I edited it with Notepad, the caridge returns did not look right, even if I tried to save it in UTF-8 or other formats.
  7. Use Notepad (or similar program) to open Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514.mum and change the operationMode=”OfflineInstall” task to Installed .
  8. Extract all 7 language CAB files into the SAME folder (KB976933-LangsCab0.cab through KB976933-LangsCab6.cab) and yes, OVERWRITE existing files when prompted.  This will take a long time.

INJECT SP1 INTO YOUR .WIM

  1. Extract the .WIM file from your WDS (Windows Deployment Services) or other deployment tool
    I will call my export CUSTOMBOOT.WIM, but you could call it anything you wanted.
  2. Mount that .WIM on a machine with WAIK installed by:
    1. create a folder named C:\TEMP\MOUNT\
    2. type dism.exe /mount-wim /wimfile:C:\temp\customboot.wim /index:1 /mountdir:C:\temp\mount
  3. Copy your preped SP1 folder to C:\TEMP\SP1\
  4. Type dism /Image:C:\temp\mount /Add-Package /PackagePath:C:\temp\sp1
  5. Type dism /Unmount-Wim /MountDir:C:\temp\mount /Commit
  6. Import the new .WIM into your WDS or other deployment tool and have a nice day

 

 

For More information, I found these two articles quite helpful:

http://superuser.com/questions/249275/slipstream-windows-7-service-pack-1

http://www.rt7lite.com/rt-se7en-lite-forum/3-integration-support/932-error-integrating-latest-sp1-rc.html?limit=6&start=6

Comments

  1. Avatar
    DH June 10, 2014 at 10:07 pm

    I follow the instructions, and no error.
    I use win2vhd.wsf to convert the wim file to vhd.
    Start the vhd in Hyper-V and do the normal installation.
    Then I check the Computer > Properties, but can’t find “Service Pack 1” under Windows edition

  2. Avatar
    Matte March 19, 2013 at 6:54 am

    So wrong at 2 places or really confusing at least, “update.ses and change the operationMode=”OfflineInstall” task to Installed”.

    Should be change the targetState=”Absent” to targetState=”Installed” under the operationMode=”OfflineInstall” task.

    also “KB976933~31bf3856ad364e35~amd64~~6.1.1.17514.mum and change the operationMode=”OfflineInstall” task to Installed”

    Should be change allowedOffline=”false” to allowedOffline=”true”.

    • Ian Matthews
      Ian Matthews April 15, 2013 at 8:55 pm

      I have used my documented process at several clients without problems. That said, I appreciate your time and effort to post your situation; perhaps they will help someone else.

      Thanks.

  3. Avatar
    Jose May 31, 2012 at 2:02 pm

    Hi,
    In second part, step 1, I need to extract a “.wim” file from “WDS”,

    Where are “.wim” file and “WDS”?

    Although do not say, it is assumed to be installed WAIK ¿isn’t it?

    Thanks.

    • Ian Matthews
      Ian Matthews May 31, 2012 at 4:04 pm

      .WIM is Windows Image Format – a compressed file containing Windows Vista or newer that you can inject other programs into (like Office, or IE9, or…)
      WDS is Windows Deployement Services – part of Server 2008 and newer, formerly called RIS – used to push software to PC’s on a corporate network

      You may not be using WDS. These instructions are only for how to put the SP1 update into an existing .WIM .

      If you just want to inject SP1 into a DVD based or download version Office:

      1.Extract and copy the contents of the Office 2007 RTM (or Office 2007 SP1 if want to apply SP2) image or disc to a temporary folder.
      For example, C:\Office2007.

      2.Download or copy the Office 2007 SP1 Update file or Office 2007 SP2 Update file to another temporary folder.
      For example, C:\Office2007SP1 (office2007sp1-kb936982-fullfile-en-us.exe) or C:\Office2007SP2.

      3.Open a command prompt, and run the following command to retrieve and get the Office 2007 SP update MSP:
      C:\Office2007SP1\office2007sp1-kb936982-fullfile-en-us.exe /extract:C:\Office2007\Updates\

      Note: The drive letters, folder names and the service pack file names (name for SP1 and SP1 is different) may vary according to your own preferences.

      4.Accept the Microsoft Software License Terms to start integrating the service pack to Office 2007 installation files. The process will expand several .msp files to “Updates” folder.
      5.Optionally, uses disc image manipulation programs to re-create a fresh Office 2007 SP1/SP2 ISO image, or burn the Office 2007 SP1/SP2 installation files inside C:\Office2007 folder to a disc media with disk burning software.

      The setup for Office 2007 will now automatically apply updates for SP1 and/or SP2 during instalation.

  4. Avatar
    Dave January 19, 2012 at 12:58 am

    I get this error at step 4 of the second part:

    An error occurred – Package_for_KB976932 Error: 0x800f080d

    I tried running it on Windows 7 and Windows 2008

    • Avatar
      tomattack July 2, 2012 at 7:32 am

      Hi Dave, I’ve got the same error.
      did you find it ?
      Kind Regards,

      Tom

      • Avatar
        JC December 3, 2013 at 4:04 pm

        Follow Matte’s post below:

        So wrong at 2 places or really confusing at least, “update.ses and change the operationMode=”OfflineInstall” task to Installed”.

        Should be change the targetState=”Absent” to targetState=”Installed” under the operationMode=”OfflineInstall” task.

        also “KB976933~31bf3856ad364e35~amd64~~6.1.1.17514.mum and change the operationMode=”OfflineInstall” task to Installed”

        Should be change allowedOffline=”false” to allowedOffline=”true”.

        This should resolve your issue.

  5. Avatar
    Kevin July 23, 2011 at 4:23 am

    I realized in the instructions you say nothing about the update.mum, but you show a picture of you changing the selected text to true.

Leave a Reply