Apply Updates Using DISM (DVD_Win8)

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

  1. panchop

    panchop MDL Senior Member

    Jul 26, 2009
    365
    463
    10
    Yes, on capture the size down to 4.10 GB. Still larger than a single dvd. Any idea how to reduce more?.

    A reasonable size is about 3.9 GB (i think)
     
  2. panchop

    panchop MDL Senior Member

    Jul 26, 2009
    365
    463
    10
    Maybe mi wim contains all updates up to today jeje
     
  3. sukinsin88

    sukinsin88 MDL Addicted

    Oct 17, 2012
    731
    43
    30
    #44 sukinsin88, Dec 19, 2012
    Last edited: Dec 19, 2012
    i integrated all 35 updates into windows 8 pro and iso has now 4.43GB it is ok ? i use win toolkit

    but i dont know how integrated all into AIO cos i have

    all version

    win 8 x86
    win 8 x64
    win 8 pro x86
    win 8 pro x64
    win 8 pro WMC x86
    win 8 pro WMC x64
    win 8 ent x86
    win 8 ent x64
     
  4. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,818
    90
    Make sure that if you integrate updates you integrate them into every index, this also keeps the size down.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #47 roylion15, Dec 19, 2012
    Last edited: Dec 19, 2012
    Hello , @sukinsin88
    to minimize a bit the size of the final wim ...
    First sort your image indexs in the Wim, prefer all x86 then all x64, then export all to a new Wim file with imageX or Dism (win8 version) with option /compress maximum ... My 14in1 AIO Wim with all updates is now 6 GB

    aio14.jpg
     
  6. sukinsin88

    sukinsin88 MDL Addicted

    Oct 17, 2012
    731
    43
    30
  7. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    956
    1,675
    30
    #50 Atari800XL, Dec 19, 2012
    Last edited by a moderator: Apr 20, 2017
  8. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    956
    1,675
    30
  9. sukinsin88

    sukinsin88 MDL Addicted

    Oct 17, 2012
    731
    43
    30
    :confused: for me nothing work i have errors with injecting
     
  10. sukinsin88

    sukinsin88 MDL Addicted

    Oct 17, 2012
    731
    43
    30
    #55 sukinsin88, Dec 20, 2012
    Last edited: Dec 20, 2012
    so i use this cmd.

    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

    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:2 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x64"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit


    pause

    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:3 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x64"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit


    pause


    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:4 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x64"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit


    pause


    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:5 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x86"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit


    pause


    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:6 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x86"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit


    pause


    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:7 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x86"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit


    pause


    Dism.exe /Mount-Wim /WimFile:%~dp0install.wim /Index:8 /MountDir:%~dp0MOUNT
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x64"
    Dism.exe /Unmount-Wim /MountDir:%~dp0MOUNT /commit

    cos i have 8 index in wim.

    but i have problem with injecting some updates x86 and x64

    when i choose win toolkit click all in one integrator

    Bez názvu.jpg


    so now where is add updates ? where i must click cos i want all updates downloaded x86 and x64 integrated into this iso so i want on all wim have updates so wim 1 2 3 4 5 6 7 8
     
  11. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    956
    1,675
    30
    You're right, that's probably the best way. My way was probably unnecessarily too complicated. Still, I like trying out different things just for learning. I *do* know that manual 1-by-1 installation of the offline updates is probably the worst idea (tested that, and will never do it again). I know, using a script is the normal way of doing it, but as I said, just testing...
    BTOR, thanks!!!
    One follow up question: I know this thread is about applying updates into your .wim using DISM, but this audit mode is pretty cool as well. What are the most important pros and cons of the two?
     
  12. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
  13. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    956
    1,675
    30
    BTOR, thank you very much for taking the time to reply. Very much appreciated!!! I'm looking forward to learning a lot more about all this...

    Until now, I mostly used WinPE_SE, customized with extra portable aps, then WinNTSetup (by JFX) to setup my OS('s). I use Grub4dos to boot 3 OS's on 1 PC (and for booting multiple ISO's from USB). I use XP, W7 and W8 on 3 seperate partitions (invisible from eachother). This is great for "fooling around" with different OS's etc. etc.
    But I also would like to learn the "official" way of doing things, with DISM, audit mode, etc. etc.
    THANKS for all your info!!
     
  14. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    956
    1,675
    30
    Quick question about the "reference computer". Can I leave this system unactivated? What if want to keep a backup image of this reference install, can I reuse this backup in (say) 3 months, to only add the new updates? Or should I do a complete reinstall of the reference computer then, and start the updates from the beginning?
    (Am I making any sense?)
     
  15. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
    1.YES activating is not necessary.
    2.In windows 7 there were limits of syspreping no more that 3 times (due to rearm count set to 3 by MS),but now in win8 the rearm count is 1000 so i think there wont problem, if you use the same image. But not sure as i did not try to sysprep more than 2 times. will try and tell.