??? when using Dism, HOW to prevent overbloating of the .wim file???

7point5

New member
Member
Local time
1:36 PM
Messages
58
k so that's a common problem & yet the web fails to provide a good answer, so I'll try here:

when using dism to slipstream msu updates (especially into install.wim) the wim file tends to get bloated far beyond what would be expected

googling the problem has failed to turn up consistent solutions, some say you must unmount the image then remount, others propose different dism commands (but don't specify when to run them)

so my question is simple, when disming a wim file - especially when many msu files are involved in the updating of the wim - how the f can I avoid bloating & make sure the final .wim is as small as possible? (without using any artificial compression of the wim file I mean. I also want an iso that installs as fast as possible)

do I have to unmount & remount the wim everytime I add a package? or run a special cleanup command after each package is added?

or instead is there 1 simple command I can run only after all the msu files been added, before committing the wim?



ps. don't try google, I did & it's useless for this specific problem :geek:
 

My Computer My Computer

At a glance

windows
Computer type
PC/Desktop
OS
windows
Hi 7.5

My understanding is that it does need to be mounted.

All windows updates are compressed so yes they need to be expanded.

NOTE 3rd party extraction tools - ie 7Zip etc SHOULD NOT BE USED, possibly why your experiencing bloating

not entirely sure what you want to achieve, as updates are now cumulative , - and therefor HUGE

usefull reading
System Preparation Tool - Use to Customize Windows - Windows 7 Help Forums

Roy
 

My Computer My Computer

At a glance

W7 home premium 32bit/W7HP 64bit/w10 tp insid...E5300 dual core3gbNvidia Geforce 7100 Nforce 630i
Computer type
PC/Desktop
Computer Manufacturer/Model Number
medionl/Aspire 6930G/acer x55a
OS
W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
CPU
E5300 dual core
Motherboard
medion MS7366
Memory
3gb
Graphics Card(s)
Nvidia Geforce 7100 Nforce 630i
Monitor(s) Displays
avixc
Internet Speed
n (isp resticted to 72)
Antivirus
mse/pands
Browser
palemoon
Other Info
Belkin Fd7050 n USB using Railink RT2870 drivers, more upto date
Hi 7.5

My understanding is that it does need to be mounted.

All windows updates are compressed so yes they need to be expanded.

NOTE 3rd party extraction tools - ie 7Zip etc SHOULD NOT BE USED, possibly why your experiencing bloating
? I don't use 3rd party tools where d'you get that? :shock:

I only use dism (from a win7 recovery environment)

I start with the usual Dism /Mount-WIM /WimFile *** command
then Dism /Image: *** /Add-Package
then Dism /Unmount-WIM /MountDir *** /Commit

and in the end the update wim file is a LOT bigger than the original (more than it should be)

so what commands must be added to make the resulting wim more compact?

not entirely sure what you want to achieve, as updates are now cumulative
I know but there's a yuge problem:

the "convenience rollup" omits several important updates that came before the rollup (while including useless/harmful ones eg. telemetry)

so it's necessary to include many other updates before the rollup. starting with the KB3020369 service stack update which they didn't even include in the rollup despite its vital importance
 

My Computer My Computer

At a glance

windows
Computer type
PC/Desktop
OS
windows

My Computer My Computer

At a glance

W7 home premium 32bit/W7HP 64bit/w10 tp insid...E5300 dual core3gbNvidia Geforce 7100 Nforce 630i
Computer type
PC/Desktop
Computer Manufacturer/Model Number
medionl/Aspire 6930G/acer x55a
OS
W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
CPU
E5300 dual core
Motherboard
medion MS7366
Memory
3gb
Graphics Card(s)
Nvidia Geforce 7100 Nforce 630i
Monitor(s) Displays
avixc
Internet Speed
n (isp resticted to 72)
Antivirus
mse/pands
Browser
palemoon
Other Info
Belkin Fd7050 n USB using Railink RT2870 drivers, more upto date
You can export the image using maximum compression to a new wimfile. Gimagex or dism++ are simple to use
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
actually what I ment was, without even using compression : I read that dism creates some sort of "redundant" files every time a msu package is added to a wim - my question was how to "clean up" the wim of ALL unnecessary files created by the dism update procedure -using dism itself, not 3rd party apps :geek:
 

My Computer My Computer

At a glance

windows
Computer type
PC/Desktop
OS
windows
Use cab files instead.
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
? the cab files are the main file inside the msu file right? it almost as big as the msu file itself

so what the difference if I extract & use the cab file instead??? both msu & cab are same size
 

My Computer My Computer

At a glance

windows
Computer type
PC/Desktop
OS
windows
Differ engine uses express cabs. Dism++ will do it for you.

Dism++
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Back
Top