oilernut Posted March 15, 2011 Posted March 15, 2011 (edited) Hey,Just was wondering if the way I slipstream updates into wim files is the best method.I download all the msu updates and then extract the updates one by one using the following command in a batch file:expand "blah1.msu" -F:* c:\extractexpand "blah2.msu" -F:* c:\extractexpand "blah3.msu" -F:* c:\extractI then go into the c:\extract folder and delete everything except for the cab files that were extracted.I run WSIM and mount the wim file and create a xml answer file with all the cab files included.After that I run the following batch file to integrate the updates into the wim:dism /mount-wim /wimfile:c:\extract\install.wim /index:1 /mountdir:c:\mount /quietecho %errorlevel%start /wait "" pkgmgr /n:"c:\extract\updates-x86.xml" /o:c:\mount;c:\mount\windows /s:c:\sandboxecho %errorlevel%dism /unmount-wim /mountdir:c:\mount /commit /quietecho %errorlevel%Is there a better process in doing this? Is there a better way or more efficient way? Edited March 15, 2011 by oilernut
grabben Posted March 15, 2011 Posted March 15, 2011 Why expand msu's? Just use /Add-package command to integrate them:)
oilernut Posted March 15, 2011 Author Posted March 15, 2011 Why expand msu's? Just use /Add-package command to integrate them:)Something like this after i mount the image?dism /image:c:\mount /add-package /packagepath:C:\extract\blah1.msu /packagepath:C:\extract\blah2.msu
ricktendo Posted March 15, 2011 Posted March 15, 2011 You dont have to specifiy each and every msu, just place them ALL in a single folder and use only the path to the folder in /packagepath/packagepath:<path_to_folder>
grabben Posted March 16, 2011 Posted March 16, 2011 You dont have to specifiy each and every msu, just place them ALL in a single folder and use only the path to the folder in /packagepath/packagepath:<path_to_folder>What he wrote. packapgepath is good if you want to integrate specific packages but if you want them all, its the <path to folder>
oilernut Posted March 31, 2011 Author Posted March 31, 2011 Well finally had time today to try this method out and no go.../Add-Package /PackagePath:<path_to_package> Installs a specified .cab package in the image. Multiple packages can be added on one command line. /PackagePath can point to either a .cab file or a folder. Examples: DISM.exe /Image:C:\test\offline /Add-Package /PackagePath:C:\test\packages DISM.exe /Image:C:\test\offline /Add-Package /PackagePath:C:\test\packages\package.cabTried pointing it to the folder with the msu files and failed, so I tried pointing it to the extracted cab files failed as well.
maxvre Posted March 31, 2011 Posted March 31, 2011 (edited) Yes as above, easiest way is to use dism command to add all msu's found inside a specified folder. For example:dism /image:C:\Users\max\Desktop\win7lab\mount /Add-Package /PackagePath:"C:\Users\max\Desktop\win7lab\updates32"This single line adds every msu file found inside the updates32 folder to the mounted wim file automatically. I just download all the msu's and put them in the folder. Then after mounting my wim using dism, I run this command and watch it install them one after the other all automatically. Edited March 31, 2011 by maxvre
maxXPsoft Posted April 1, 2011 Posted April 1, 2011 dism /image:C:\Users\max\Desktop\win7lab\mount /Add-Package /PackagePath:"C:\Users\max\Desktop\win7lab\updates32"This single line adds every msu file found inside the updates32 folder to the mounted wim file automatically.That will also add all .cab from same folderoilernut all you need is the folder
marcusj0015 Posted April 9, 2011 Posted April 9, 2011 the ABSOULTE best way, is to install standard windows 7, then install all your apps and drivers, and updates, and everything, then capture the image
Mike89 Posted September 13, 2013 Posted September 13, 2013 (edited) http://www.sevenforums.com/installation-setup/282232-test-update-7-installation-media.htmlI used it to add windows updates to my Windows 7 Ultimate x64 SP1 iso. Worked perfectly. Edited September 13, 2013 by Mike89
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