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:\extract
expand "blah2.msu" -F:* c:\extract
expand "blah3.msu" -F:* c:\extract
I 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 /quiet
echo %errorlevel%
start /wait "" pkgmgr /n:"c:\extract\updates-x86.xml" /o:c:\mount;c:\mount\windows /s:c:\sandbox
echo %errorlevel%
dism /unmount-wim /mountdir:c:\mount /commit /quiet
echo %errorlevel%
Is there a better process in doing this? Is there a better way or more efficient way?
This post has been edited by oilernut: 15 March 2011 - 12:54 PM



Help
Back to top










