Help - Search - Members - Calendar
Full Version: Merging Windows Updates
MSFN Forums > Microsoft Software Products - Discussion & Support > Windows 7

   


Google Internet Forums Unattended CD/DVD Guide
morocco31477
I have about 80 .msu files which are windows updates. Is there a way to merge them together into one executable file?
MagicAndre1981
You could use
CODE
DISM.exe /online /Add-Package:C:\Updates
, this should install all updates found in the folder (I haven't tried it, maybe you can try it and post if it works).
morocco31477
Well there was only one update that I have not installed. So I created the directory C:\Updates and input your command in the run command and it just blank, so I did it in CMD and got an error, "080070032, Error 50, The request is not supported, The DISM log file can be found at ..."
ajua
I don't know if you can do that, but you can always merge/install them on a Windows 7 source and update the image files.
morocco31477
QUOTE (ajua @ Oct 25 2009, 02:08 AM) *
I don't know if you can do that, but you can always merge/install them on a Windows 7 source and update the image files.


Like slipstream them in? I do that with XP service packs, how do you do it with windows 7 updates?
cluberti
Make sure you read the DISM documentation, specifically look at the /Add-Package command line. You would mount the WIM file and image number, then use /Add-Package to add the .msu packages to the .WIM file, then unmount the WIM.

To gather information on a .WIM file (image index, names, etc):
CODE
DISM /Get-WimInfo /WimFile:<DriveLetter:\full\path\to\.wim\file.wim>


To mount a .WIM file:
CODE
DISM /Mount-Wim /WimFile:<DriveLetter:\full\path\to\.wim\file.wim> /index:<1,2,etc> /MountDir:<DriveLetter:\path\to\temporary\mount\folder>


To add .msu packages to a mounted .WIM file:
CODE
DISM /Image:<DriveLetter:\path\to\temporary\mount\folder> /LogPath:AddPackage.log /AddPackage /PackagePath:<DriveLetter:\full\path\to\folder\containing\all\msu\packages>


To unmount and commit the changes to the .WIM file:
CODE
DISM /Unmount-Wim /MountDir:<DriveLetter:\path\to\temporary\mount\folder> /commit


You can find all the DISM command-line options here.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.