Windows Update - Extract an Update

Page 1 of 2 12 LastLast
    Windows Update - Extract an Update

    Windows Update - Extract an Update

    How to Extract a Windows Update
    Published by
    Designer Media Ltd


    How to Extract a Windows Update

       Information
    This tutorial will show you how to extract a Windows Update file to release the contents, using both the manual and automatic methods. You might consider doing this if you are a technical expert trying to find a replacement for a corrupt file. Extracting the contents of the update already identified to be the one containing the correct version of the file in question is often the most efficient way of sourcing this replacement.
       Note
    This process is intended for advanced users only.
       Warning
    It is imperative that you do not use any 3rd Party tool to extract Windows Update .cab files, such as 7-Zip or Win-Zip, as these tools incompletely extract such archives. However, due to different formatting in service packs, these tools often will extract service pack .cab files completely, but to be sure, you are better off using one of the below methods anyway.



    Method One

    Automatic method using KB_Extractor


       Warning
    Please do not mirror or directly link to KB_Extractor. You may only link to this tutorial. To negotiate the use of this tool, please contact me.
       Note
    If you are using this tool on a machine not running Windows Vista, you may need to install the .net Framework 2.0. Download details: Microsoft .NET Framework 2.0 Service Pack 2

    However, this is already included in Windows Vista, and so if you are running Windows Vista, downloading this package is not required.


    Download KB_Extractor version 1.2 (dated: 26/06/2011) to your Desktop.
    Download



    This tool has two modes.

    To extract an update:

    Simply drag the update you wish to extract onto the pre-saved executable, and wait for the extraction to complete.
       Note
    Please be aware that large updates such as service packs can take around ten minutes to extract.
       Tip
    This tool should successfully extract most types of Windows Update related packages, including packages with the following file extension: .msu, .cab, .exe. Most types of packages, including standard Windows Update packages, service packs, pre-extracted .cab files, Microsoft Security Essentials installers, and Internet Explorer installers, including the extraction of packages containing sub packages, such as language packs will be extracted perfectly. However, if you find any bugs, or any updates which are incompletely extracted, please do contact me giving full details.
    Once the extraction has completed, the folder containing the extracted contents will open.

    To drag an update onto the executable, first select the update:
    Windows Update - Extract an Update-1.jpg
    Then drag the update:
    Windows Update - Extract an Update-2.jpg
    over the executable, and release:
    Windows Update - Extract an Update-3.jpg
    During the extraction, there are three distinct phases:

    Phase 1. This phase will normally only appear for large service packs:
    Windows Update - Extract an Update-4.jpg
    Phase 2:
    Windows Update - Extract an Update-5.jpg
    Phase 3:
    Windows Update - Extract an Update-6.jpg
       Tip
    Simply click on any of these images for an enlarged view.
       Note
    If a package contains several sub-packages, phases 2 and 3 will loop around once for each package.


    To Clean up your Temporary files:

       Warning
    All extracted updates are extracted to sub-directories in the %TEMP% folder (commonly located in your %UserProfile%\AppData\Local\Temp folder, which would for me, as an example, be C:\Users\Richard\AppData\Local\Temp) However, particularly if you extract a lot of service packs, this folder can become very bloated in size.

    To empty this, simply double click on the executable:
    Windows Update - Extract an Update-7.jpg
    type in "y", and press ENTER or RETURN on your keyboard. Again, you can click on any screenshot to enlarge it.
    Windows Update - Extract an Update-8.jpg
    KB_Extractor will close when it has finished emptying your temporary folder.




       Note

    • KB_Extractor will only empty the temporary folder of sub-directories in the format of those created by this tool.
    • This process can take up to ten minutes if this tool has extracted several service packs.







    Method Two

    Manual Method using expand.exe


       Warning
    This method is considerably harder, and far more time consuming. However, it only uses tools included in a standard Windows installation. Also, different styles of packages may require additional extraction, but using the same techniques. Unfortunately, I cannot document every single different package style here.
    NOTE: You can open a command prompt by typing cmd in the Start Menu Search box and pressing Enter.

    The general formula for an update is:

    expand -f:*{update name}.msu {destination folder}
    expand -f:*{update name}.cab {destination folder}

    and for a Service Pack:

    {service pack name} /x:{destination folder}
    expand -f:* {service pack name} {destination folder}

    Therefore, to unpack Windows6.1-KB980302-x86.msu which is already in C:\Temp you must type these two commands:

    expand -f:* C:\TEMP\Windows6.1-KB980302-x86.msu C:\TEMP
    expand -f:* C:\TEMP\Windows6.1-KB980302-x86.cab C:\TEMP

    and for a Service Pack, such as this Vista SP2, already in C:\TEMP:

    C:\Temp\Windows6.0-KB948465-X86.exe /x:C:\Temp
    expand -f:* C:\Temp\Windows6.0-KB948465-X86.cab C:\Temp

    Previous Versions:

       Warning
    Please be aware that these versions are out of date, may contain bugs, and are no longer supported.
    Version 1.0 (dated: 21/02/2011):
    Download



    Version 1.1 (dated: 04/June/2011):
    Download



    That's it,
    Richard






  1. Posts : 908
    Vista Home Premium x86 SP2
       #1

    Version 1.1 is now signed off, dated 4th June 2011.

    Changelog:

    Code:
    1.0:
    Initial Release
    
    1.1:
    FIXED: Incomplete extraction of .cab files with only a single file in them.
    FIXED: Incomplete extraction of renamed .msu files.
    FIXED: Faulty logic leading to files named with specific names passing into the wrong extraction category.
    ADDED: Custom error message for attempting to extract 64bit .exes on a 32bit computer.
    Version 2.0 is planned, and will extract update packages in rarer formats and styles.
    Last edited by niemiro; 04 Jun 2011 at 08:19.
      My Computer


  2. Posts : 352
    Windows 7 Pro x64 SP1
       #2

    I'm trying to use this on Win7, x64, but I keep getting the error that I can't extract a 64bit exe on a 32bit computer. ???
      My Computer


  3. Posts : 908
    Vista Home Premium x86 SP2
    Thread Starter
       #3

    Miranova23 said:
    I'm trying to use this on Win7, x64, but I keep getting the error that I can't extract a 64bit exe on a 32bit computer. ???
    Hello!

    I am sorry that you are having this problem. This is partially caused by a bug in version 1.1. In the erranous scenario, this error message masks a different underlying error message. This has been fixed in version 1.2, set to be released next weekend, or so.

    However, there is still the other, masked error message (which comes through properly in 1.2)

    Which updates are you trying to extract?

    Thanks a lot!

    Richard
      My Computer


  4. Posts : 908
    Vista Home Premium x86 SP2
    Thread Starter
       #4

    Version 1.2 is now signed off, dated 26/06/2011.

    Changelog:

    Code:
    1.0: 
    Initial Release    
     
    1.1:  
    FIXED: Incomplete extraction of .cab files with only a single file in them.  
    FIXED: Incomplete extraction of renamed .msu files. 
    FIXED: Faulty logic leading to files named with specific names passing into the wrong extraction category.  
    ADDED: Custom error message for attempting to extract 64bit .exes on a 32bit computer.  
     
    1.2: 
    FIXED: Faulty logic which caused the custom error message for attempting to extract 64bit .exes on a 32bit computer to appear more often than it should, masking other errors. 
    FIXED: Empty "Extracted" folders. 
    ADDED: Support for packages using rarer extraction arguments.
    I didn't actually originally intend to release this version, but it provides a few new bug fixes and features, so in the end I did.
    Last edited by niemiro; 27 Jun 2011 at 02:13.
      My Computer


  5. Posts : 908
    Vista Home Premium x86 SP2
    Thread Starter
       #5

    Miranova23 said:
    I'm trying to use this on Win7, x64, but I keep getting the error that I can't extract a 64bit exe on a 32bit computer. ???
    This has now been fully fixed in version 1.2 :)
      My Computer


  6. Posts : 3
    Windows 2008 R2
       #6

    How Can I install the extracted *.msu files ?


    Once the files been extracted in Temp folder, how i can install them ?
    Thanks in advance
      My Computer


  7. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #7

    Hello Ssakib, and welcome to Seven Forums.

    For what it sounds like you want to do, it may be easier to use the tutorial below to download the MSU file for the Windows Update instead. This way you will just need to run the MSU to install it.

    Windows Update - Download Standalone MSU Installer File

    Hope this helps,
    Shawn
      My Computer


  8. Posts : 3
    Windows 2008 R2
       #8

    Hi Shawn, thanks for your reply.

    But thats not I am looking for. I have downloaded the hotfixes, (for Exchange 2010 CAS role) and extracted according to the steps mentioned above..but now I am unsure how to install them.

    Any idea would be greatly appreciated.

    Many Thanks
      My Computer


  9. Posts : 3
    Windows 2008 R2
       #9

    Hi..No need for further information..I have figured it out ! Thanks for all your help...
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:19.
Find Us