MSFN Forum: Best Way To Slipstream Updates? - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Best Way To Slipstream Updates?

#1 User is offline   oilernut 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 10-October 05

Posted 15 March 2011 - 12:53 PM

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



#2 User is offline   grabben 

  • -Grabben
  • PipPipPipPip
  • Group: Members
  • Posts: 600
  • Joined: 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 March 2011 - 02:38 PM

Why expand msu's? Just use /Add-package command to integrate them:)

#3 User is offline   oilernut 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 10-October 05

Posted 15 March 2011 - 02:51 PM

View Postgrabben, on 15 March 2011 - 02:38 PM, said:

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

#4 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 March 2011 - 03:42 PM

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>


#5 User is offline   grabben 

  • -Grabben
  • PipPipPipPip
  • Group: Members
  • Posts: 600
  • Joined: 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 March 2011 - 04:59 AM

View Postricktendo64, on 15 March 2011 - 03:42 PM, said:

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>

#6 User is offline   oilernut 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 10-October 05

Posted 31 March 2011 - 11:04 AM

Well finally had time today to try this method out and no go...

Quote

/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.cab



Tried pointing it to the folder with the msu files and failed, so I tried pointing it to the extracted cab files failed as well.

#7 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,352
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 31 March 2011 - 11:26 AM

Here is a Link that list DISM commands.

#8 User is offline   maxvre 

  • Group: Members
  • Posts: 7
  • Joined: 02-March 09

Posted 31 March 2011 - 03:05 PM

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.

This post has been edited by maxvre: 31 March 2011 - 03:06 PM


#9 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,751
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 March 2011 - 06:38 PM

View Postmaxvre, on 31 March 2011 - 03:05 PM, said:

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 folder

oilernut all you need is the folder

#10 User is offline   marcusj0015 

  • Member
  • PipPip
  • Group: Members
  • Posts: 154
  • Joined: 05-July 09

Posted 09 April 2011 - 11:30 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy