I have made a custom wim, added drivers for my 2 motherboards, added directx and .net 4.5.2 and its just 11 megabytes too big for a dvdrw !!!! Is there one or two files to remove or some way to compress it just a little tighter?
Code: "\Users\Public\Music\Sample Music" "\Users\Public\Pictures\Sample Pictures" "\Users\Public\Recorded TV\Sample Media\" "\Users\Public\Videos\Sample Videos" Code: \Windows\winsxs\ManifestCache\ Remove the files inside not the folders themselves
Hmmm not sure how to do that as I used Wintoolkit and WinAIO to make the wim(and DISM to merge 2 swms to remove all but 1 version of windows from indexes)
You could use a usb flash drive to install your customized installation of Win7, be much faster than a Dual Layer DVD.
Thanks but I want to have it filed away with discs so I have little chance of losing it. Anyway still looking, its annoying when its 11 meg too big as surely I can remove something though I know there is files in public folders
The sample video.wmv is about 25MB in the italian version, I guess it should be more or less the same on other languages.
Try making a cmd script like this?: Code: @echo off dism /mount-wim /wimfile:c:\custom-windows\sources\install.wim /index:1 /mountdir:c:\mount del /q/f "c:\mount\Users\Public\Music\Sample Music\*.*" del /q/f "c:\mount\Users\Public\Pictures\Sample Pictures\*.*" del /q/f "c:\mount\Users\Public\Recorded TV\Sample Media\*.*" del /q/f "c:\mount\Windows\winsxs\ManifestCache\*.*" dism /unmount-wim /mountdir:c:\mount /commit dism /export-image /sourceimagefile:c:\custom-windows\sources\install.wim /sourceindex:1 /destinationimagefile:c:\temp\install.wim /checkintegrity move /y c:\temp\install.wim c:\custom-windows\sources\ Save that as somefile.cmd and run as admin after editing the various paths.
Have you tried to re-export the wim after editing it? In my experience, if you edit a wim, add updates etc. it will have leftover files inside the wim. If you re-export the wim with /maximum it cleans it up. You may find you save hundreds of megabytes.