Integrate .MSU updates into Win 7 AIO?

Discussion in 'Windows 7' started by HORIZONTAL THINKER, May 5, 2013.

  1. HORIZONTAL THINKER

    HORIZONTAL THINKER MDL Member

    Jun 13, 2012
    155
    22
    10
    I'm hoping someone may be able to point me in the right direction on this. I'm looking for an app. that will integrate .MSU updates, both architectures into a Win 7 AIO i currently use.
    The few Apps. i've looked at can't work with an AIO image.

    Thanks in advance for any help on this
     
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    #2 murphy78, May 6, 2013
    Last edited by a moderator: Apr 20, 2017
    You are thinking about it wrong.
    An AIO is a collection of images in one file.
    To add MSU packages to one image, would not update them all.

    What you want is an integration script.
    I do this a lot.
    Say indexes 1-5 are x86, and 6-10 are x64.
    Now you have 2 MSU folders, one for x86 updates, and one for x64 updates.

    So basically you want to create a cmd script that has the contents something like this:
    Code:
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:1 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x86
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:2 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x86
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:3 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x86
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:4 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x86
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:5 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x86
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:6 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x64
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:7 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x64
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:8 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x64
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:9 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x64
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    dism /mount-wim /wimfile:c:\win7\sources\install.wim /index:10 /mountdir:c:\mnt
    dism /image:c:\mnt /add-package /packagepath:c:\msu\x64
    dism /unmount-wim /mountdir:c:\mnt /commit
    
    
    You would save that as something like integrate.cmd then run it as admin by right clicking on it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. HORIZONTAL THINKER

    HORIZONTAL THINKER MDL Member

    Jun 13, 2012
    155
    22
    10
    #3 HORIZONTAL THINKER, May 6, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Cheers Murphy78. Exactly what i've been looking for :eek::worthy: