ner Posted May 18, 2010 Share Posted May 18, 2010 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? Link to comment Share on other sites More sharing options...
cluberti Posted May 18, 2010 Share Posted May 18, 2010 Make sure that all of the updates are valid - specifically, remove any updates that have been superseded by other updatesDetermine if you're going to slipstream the updates into the base WIM file, or install them after Windows 7 has finished installingIf installing updates into a WIM, use DISM /image:<mounted WIM file> and the /Add-Package optionIf installing updates into a running Windows 7 system, use pkgmgr /ip to install from the .cab fileFor 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 /commitTo 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.cabNOTE 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now