## Recommended Posts

I have about 80 .msu files which are windows updates. Is there a way to merge them together into one executable file?

##### Share on other sites

You could use

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).

##### Share on other sites

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 ..."

##### Share on other sites

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.

##### Share on other sites

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?

##### Share on other sites

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):

DISM /Get-WimInfo /WimFile:<DriveLetter:\full\path\to\.wim\file.wim>

To mount a .WIM file:

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:

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:

DISM /Unmount-Wim /MountDir:<DriveLetter:\path\to\temporary\mount\folder> /commit

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

## Create an account

Register a new account