Apply Updates Using DISM (DVD_Win8)

Discussion in 'Windows 8' started by herry2009, Dec 10, 2012.

  1. herry2009

    herry2009 MDL Junior Member

    Jul 22, 2011
    71
    28
    0
    Apply Updates Using DISM (DVD_Win8)

    Please do not integrate with 2 Update (KB2756872 - KB2770917) with DISM.
    Other updates integrating using the tutorial below.
    DISM / Mount-Wim / Wimfile: C: \ Win8 \ install.wim / index: 1 / MountDir: C: \ Win8 \ MOUNT
    Dism / image: C: \ Win8 \ MOUNT / Add-Package / PackagePath: C: \ UPDATES \ x86 \
    dism / Unmount-Wim / MountDir: C: \ Win8 \ MOUNT / commit
    What's the Problem? Why only these (KB2756872 - KB2770917) not integrated? What is the Correct way to integrate?


    Por favor, não se integrar com 2 Update (KB2756872 - KB2770917) com o DISM.
    Outras atualizações integrando usando o tutorial abaixo.
    DISM /Mount-Wim /Wimfile:C:\WIN8\install.wim /index:1 /Mountdir:C:\WIN8\MOUNT
    Dism /image:C:\WIN8\MOUNT /Add-Package /PackagePath:C:\UPDATES\X86\
    dism /Unmount-Wim /MountDir:C:\WIN8\MOUNT /commit
    Qual o Problemas? Por que somente estes (KB2756872 - KB2770917) não integra? Qual a forma Correta para integrar ?

    :jockey:
     
  2. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    I don't have any problems with integrating 2756872 and 2770917. Dism doesn't throw any errors and the updated image installs fine, no WU problems either.

    Do keep in mind though that these 2 updates consist of several msu packages, so if you plan on storing them on your drive for later use you should keep them in a separate folder.
    This way if they become redundant lateron you still know which msu files belong to that update.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,354
    633
    60
    #3 NICK@NUMBER11, Dec 10, 2012
    Last edited by a moderator: Apr 20, 2017
    This is what i use to inject all updates, The only update that you cannot inject is KB2771431 - This needs to be installed offline!.....


    Code:
    MD %~dp0MOUNT
    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:1 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x86"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit
    Now please do note that update KB2756872 Compiles the followings (you have to inject them all, otherwise it will still show up on windows update:

    Windows8-RT-KB2756872-x86.msu 97.4 MB
    Windows8-RT-KB2761094-x86.msu 5.2 MB
    Windows8-RT-KB2764870-x86.msu 386 KB

    and

    Now please do note that update KB2770917 Compiles the followings (you have to inject them all, otherwise it will still show up on windows update:

    •2777166
    •2758246
    •2780342
    •2771821
    •2771744
    •2778171
    •2780523
     
  4. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    633
    1,014
    30
    Please excuse my dumb question, I have only recently started fiddling with DISM (creating 7-in-1install.wim, which I use with JFX's WinNTSetup. So far, I've only used commands like mount/ enablefeature/ Remove-ProvisionedAppxPackage, Set-Productkey, etc, but not Add-Package), but could you please tell me what's the best way to "collect" those offline updates? Can they just be downloaded somewhere? Then how do I break down those two updates mentioned, in their .msu components?
    Thanks!
     
  5. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,494
    15,283
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    And also from catalog.update.microsoft.com (must use IE).
    When you click on an update there you can also see if it's replaced by a newer update and which one, and if it replaces previous updates.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. herry2009

    herry2009 MDL Junior Member

    Jul 22, 2011
    71
    28
    0
    dism

    I'll test the updates
    ..win8.cesidian.info/
    A moment ....
    .
    Vou testar pelos updates
    ..win8.cesidian.info/
    Um momento....
     
  8. herry2009

    herry2009 MDL Junior Member

    Jul 22, 2011
    71
    28
    0
    command Used
    mkdir C:\WIN8\X86
    mkdir C:\WIN8\MOUNT
    Dism /Get-WIMInfo /WimFile:c:\win8\x86\sources\install.wim
    Dism /Export-Image /SourceImageFile:c:\win8\x86\sources\install.wim /SourceIndex:1 /DestinationImageFile:c:\win8\install.wim /DestinationName:"Windows 8 Pro" /compress:maximum /CheckIntegrity
    Dism /Get-WIMInfo /WimFile:C:\WIN8\X86\install.wim
    Dism /mount-wim /wimfile:C:\WIN8\install.wim /index:1 /mountdir:C:\WIN8\MOUNT
    Dism /Image:C:\WIN8\MOUNT /LogPath:C:\UPDATES\UP.TXT /Add-Package /PackagePath:C:\UPDATES\x86\
    Still not apply Updates .. ERROR


    *PTBR
    Comando Usado
    mkdir C:\WIN8\X86
    mkdir C:\WIN8\MOUNT
    Dism /Get-WIMInfo /WimFile:c:\win8\x86\sources\install.wim
    Dism /Export-Image /SourceImageFile:c:\win8\x86\sources\install.wim /SourceIndex:1 /DestinationImageFile:c:\win8\install.wim /DestinationName:"Windows 8 Pro" /compress:maximum /CheckIntegrity
    Dism /Get-WIMInfo /WimFile:C:\WIN8\X86\install.wim
    Dism /mount-wim /wimfile:C:\WIN8\install.wim /index:1 /mountdir:C:\WIN8\MOUNT
    Dism /Image:C:\WIN8\MOUNT /LogPath:C:\UPDATES\UP.TXT /Add-Package /PackagePath:C:\UPDATES\x86\
    Mesmo assim nao aplica Updates.. ERRO


    Updates download
    __win8.cesidian.info/x86/__
    LOG
    _w_ww.mediafire.com/view/?62n1t6ref43923q__
    Print
    _w_ww.mediafire.com/view/?kpgy360yf9lkmkm__
     
  9. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    In the add-package commands leave the backslash at the end, dism can be a little picky on that.
    It becomes ..../PackagePath:C:\UPDATES\x86
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. herry2009

    herry2009 MDL Junior Member

    Jul 22, 2011
    71
    28
    0
    Friends ...
    I am not able to apply all the updates to the install.wim Windows8
    using DISM ..
    Can someone help me ...
    (KB2756872 - KB2770917)


    Amigos...
    Nao Estou conseguindo aplicar todos os updates a install.wim do Windows8
    usando DISM..
    Alguem pode me ajudar...
    (KB2756872 - KB2770917)
     
  11. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,354
    633
    60
    read above please... its been advised


     
  12. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    #12 Stannieman, Dec 13, 2012
    Last edited by a moderator: Apr 20, 2017
    2770917 has been replaced this tuesday.

    Here are all the updates that I have, all were published on WU, no redundancies, defender and malicious software removal tool excluded:
    Code:
     Volume in drive N is Data
     Volume Serial Number is A628-BC32
    
     Directory of N:\Besturingssystemen\Windows 8\Post RTM Updates\x64
    
    14/11/2012  13:38    <DIR>          .
    14/11/2012  13:38    <DIR>          ..
    12/12/2012  13:49    <DIR>          Offline
    11/12/2012  22:59    <DIR>          Online
                   0 File(s)              0 bytes
    
     Directory of N:\Besturingssystemen\Windows 8\Post RTM Updates\x64\Offline
    
    12/12/2012  13:49    <DIR>          .
    12/12/2012  13:49    <DIR>          ..
    24/10/2012  21:49           293ÿ554 KB2727528.msu
    24/10/2012  21:42         6ÿ446ÿ642 KB2737084.msu
    19/11/2012  23:10           661ÿ856 KB2753842.msu
    14/11/2012  13:36    <DIR>          KB2756872
    11/12/2012  23:06        29ÿ179ÿ473 KB2761465.msu
    20/11/2012  20:55         2ÿ092ÿ517 KB2764462.msu
    11/10/2012  01:24         2ÿ163ÿ995 KB2768703.msu
    07/11/2012  23:59           606ÿ778 KB2769034.msu
    07/11/2012  23:14       170ÿ445ÿ900 KB2769165.msu
    20/11/2012  06:38           689ÿ769 KB2770660.msu
    15/11/2012  01:22        10ÿ113ÿ386 KB2771431.msu
    21/11/2012  00:54           415ÿ402 KB2777294.msu
    20/11/2012  02:39         2ÿ151ÿ133 KB2779030.msu
    06/12/2012  07:00         6ÿ263ÿ015 KB2779444.msu
    15/11/2012  01:27           684ÿ972 KB2779562.msu
    12/12/2012  13:50    <DIR>          KB2779768
    06/12/2012  07:12         1ÿ099ÿ043 KB2780541.msu
    08/12/2012  01:16        17ÿ016ÿ843 KB2785605.msu
    28/08/2012  00:41           683ÿ681 KB976002.msu
    11/12/2012  22:58    <DIR>          NetFx3
                  17 File(s)    251ÿ007ÿ959 bytes
    
     Directory of N:\Besturingssystemen\Windows 8\Post RTM Updates\x64\Offline\KB2756872
    
    14/11/2012  13:36    <DIR>          .
    14/11/2012  13:36    <DIR>          ..
    25/09/2012  16:56       170ÿ699ÿ203 KB2756872.msu
    02/10/2012  00:12         7ÿ228ÿ798 KB2761094.msu
    05/10/2012  16:34           439ÿ787 KB2764870.msu
                   3 File(s)    178ÿ367ÿ788 bytes
    
     Directory of N:\Besturingssystemen\Windows 8\Post RTM Updates\x64\Offline\KB2779768
    
    12/12/2012  13:50    <DIR>          .
    12/12/2012  13:50    <DIR>          ..
    06/12/2012  07:24        56ÿ925ÿ344 KB2779768.msu
    06/12/2012  07:30         1ÿ394ÿ525 KB2782419.msu
    06/12/2012  07:30         1ÿ643ÿ007 KB2783251.msu
    06/12/2012  07:30         4ÿ389ÿ375 KB2784160.msu
                   4 File(s)     64ÿ352ÿ251 bytes
    
     Directory of N:\Besturingssystemen\Windows 8\Post RTM Updates\x64\Offline\NetFx3
    
    11/12/2012  22:58    <DIR>          .
    11/12/2012  22:58    <DIR>          ..
    24/10/2012  00:36        13ÿ147ÿ928 KB2729462.msu
    15/11/2012  01:20        77ÿ629ÿ975 KB2769166.msu
                   2 File(s)     90ÿ777ÿ903 bytes
    
     Directory of N:\Besturingssystemen\Windows 8\Post RTM Updates\x64\Online
    
    11/12/2012  22:59    <DIR>          .
    11/12/2012  22:59    <DIR>          ..
    08/11/2012  00:28            34ÿ272 KB2772501.exe
    06/12/2012  07:11           392ÿ840 KB931125.exe
                   2 File(s)        427ÿ112 bytes
    
         Total Files Listed:
                  28 File(s)    584ÿ933ÿ013 bytes
                  17 Dir(s)  159ÿ890ÿ976ÿ768 bytes free
    
    Say your install.wim is C:\install.wim, mountdir is C:\mount and your updates are in
    C:\updates\Offline
    C:\updates\Offline\KB2756872
    C:\updates\Offline\KB2779768
    C:\updates\Offline\NetFx3
    then this should work:

    dism /mount-wim /wimfile:C:\install.wim /index:INDEXTOSERVICE /mountdir:C:\mount
    dism /image:C:\mount /add-package /packagepath:C:\updates\Offline
    dism /image:C:\mount /add-package /packagepath:C:\updates\Offline\KB2756872
    dism /image:C:\mount /add-package /packagepath:C:\updates\Offline\KB2779768
    dism /image:C:\mount /add-package /packagepath:C:\updates\Offline\NetFx3 (I think only if you already added .net 3.x framework in you image)
    dism /unmount-wim /mountdir:C:\mount /commit

    If you want to reduce the size of your wim a bit by removing some garbage you can run:
    imagex /export C:\install.wim INDEXYOUSERVICED C:\newinstall.wim, where INDEXYOUSERVICED can be * for all indexes

    If this doesn't work then you have ghosts in your pc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,346
    6,032
    180
    question: when you you install using RTM ISO and then go to windows updates and install those updates they seem to be a prerequisite to another batch of updates .. How does that effect making AIO?
     
  14. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    #14 Stannieman, Dec 13, 2012
    Last edited: Dec 13, 2012
    It happens that I'm currently clean installing our desktop (was still running CP). It's the first time I made a sliptreamed window 8 iso and I found out my post above needs a little update.
    So KB2771431 fails when offline installing. This is because it's an update for the servicing stack itself (the update mechanism). For some strange reason MS doesn't like servicing stack updates to be dismed to an offline image.

    It is possible to dism it anyway, but you'll need to modify the update.mum file which is inside the cab, which in turn is inside the msu.
    However, to avoid problems with windows update in the future I don't recommend to do this.

    So the lesson learned today is: don't attempt to dism KB2771431, instead just let WU do it or install it manually after you installed.

    @ redroad: do you mean this perhaps? If so then it should be obvious from the info I just gave. WU first installs an update for itself (KB2771431) so all other updates to Windows can be installed with the newer bugfixed servicing stack.

    It doesn't affect the slipstreaming as you can always offline install any other updates in any order. There are no dependencies in windows updates and dism won't overwrite newer files with older ones if an older update is dismed after a new one.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. sukinsin88

    sukinsin88 MDL Addicted

    Oct 17, 2012
    711
    43
    30
    :confused: so i have AIO iso with all X64 and x86

    now how i integrated updates ?
     
  16. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    Mount index 1, integrate updates, unmount, mount index 2, integrate updates, unmount, ... And then export * to reduce space.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    633
    1,014
    30
    Stannieman, could you please make something clear for me: Are the updates truly integrated (files replaced), or added to the install? Integration would not add time to the setup, am I correct? Also, no "double" files? Thanks!
     
  18. sukinsin88

    sukinsin88 MDL Addicted

    Oct 17, 2012
    711
    43
    30
    :confused: i have unpacked my AIO iso

    kuc not work

    so how download all updates ?

    has anyone team viewer you can connect to my pc

    thanks for help

    i am beginner with this :eek:
     
  19. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    Yes, all files inside the image are replaced with the new ones. Old files are removed so it is not possible to uninstall updates that were integrated offline.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    633
    1,014
    30
    Thank you Stannieman, so it's true integration. This is next on my todo list. I'm quite new to DISM, but impressed with all the possibilities.