Jump to content

Windows updates and hotfixes


ner

Recommended Posts

I have got me a folder with all 219 updates and hotfixes and would like to create some sort of command file that wull install these after windows 7 installations completes, so post install?

Do anyone have such a thing? :wacko:

Link to comment
Share on other sites


  1. Make sure that all of the updates are valid - specifically, remove any updates that have been superseded by other updates
  2. Determine if you're going to slipstream the updates into the base WIM file, or install them after Windows 7 has finished installing
  3. If installing updates into a WIM, use DISM /image:<mounted WIM file> and the /Add-Package option
  4. If installing updates into a running Windows 7 system, use pkgmgr /ip to install from the .cab file

For example, to add a set of packages offline to a WIM mounted in C:\Mount as Windows 7 Ultimate, you'd place all of your MSU files in the folder C:\Temp\MSU_Files\, then run the following commands:

- dism /Mount-Wim /WimFile:C:\Temp\install.wim /index:5 /MountDir:C:\Mount

- dism /image:C:\Mount /Add-Package /PackagePath:C:\Temp\MSU_Files

- dism /Unmount-Wim /MountDir:C:\Mount /commit

To add a set of packages to an online system, you need to first extract the the MSU to it's CAB files, then use pkgmgr to install the update from the CAB file.

For example, installing the MS10-018 (KB980182) cumulative update for Internet Explorer 8:

- expand -F:* C:\TEMP\Windows6.1-KB980182-x86.msu C:\TEMP\KB980182

- start /w pkgmgr /ip /m:C:\TEMP\KB980182\Windows6.1-KB980182-x86.cab

NOTE that if you have multiple updates to apply online like this, do NOT extract all of the CAB files to the same folder!!!! This will cause some (or all) of the installations to fail.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...