== ============================================================================== == © 2007 home7ech =========================================================== == Creative Learning by Doing, Slowly but Do iT Cool's ======================= ============================================================================== == Working Machine Description: ============================================== == • Processor : Athlon II X4 630 2.8 GHz ==================================== == • Mainboard : BIOSTAR TA 785G3-HD ========================================= == • Monitor : ACER X163W (16") ============================================ == • Memory : 2 GB Elixir PC1066 DDR3 (1,75 gb Usable) ==================== == • HardDisk : WDC WD5000AKS-00UU3A0 (500 GB) ============================== == Operating Systems: ======================================================== == • Windows 8.1 Professional Volume with Rollup Update 2015-03-25 WR8.1 LiTE ============================================================================== == .............................................................................. .. Original Windows 7 Ultimate with SP1 (Retail English x86) ................. .. • DVD LABEL: GRMCULFRER_EN_SP1-DVD ........................................ .. • iSO LABEL: GRMCULFRER_EN_SP1-DVD.iso .................................... .. • iSO SiZE: 2,563,039,232 byte (2.38 GB) .................................. .. • BUiLD: 7601.17514.101119-1850 ........................................... .. • CRC32: C2966895 ......................................................... .. • MD5: 24F3A45D43D7C532AA3126CC094C61BD ................................... .. • SHA-1: 92C1ADA4FF09C76EC2F1974940624CAB7F822F62 ......................... .............................................................................. == ============================================================================== == Implement Updates Manually with DiSM (Windows 8.1) Before WinReducer ====== == OS: Windows 8.1 Pro VL with Rollup Update 2015-03-25 WR8.1 LiTE =========== == #2: Integrate Updates: 278 Files, 907 MB (952,091,523 bytes) ============== ============================================================================== == .. Result: WORKED .. SOLVED: .. WinReducerEX70.v1.1.5.0_WinSXS_Cleanup.wccf .. * Install Windows: Windows could not apply unattend settings during pass [offlineServicing] .. * Generating information about all packages: Error: 3 .. The directory \%MOUNTDiR%\Windows does not appear to be a valid Windows directory. .. Ensure that the /WinDir option that is specified is valid. .. For more information, refer to the help by running DISM.exe /WinDir /?. .. * EXPERiMENTAL Work Folder Not Cleanup : 13.9 MB (14,673,100 bytes) [182 Files, 99 Folders] .. WinReducerEX70.v1.1.3.0_WinSXS_Cleanup.wccf .. * Integrated Internet Explorer 11 (iE11) Updates Bug .. NOT RESOLVED: .. * Missing Shortcut Internet Explorer (iE11) on Taskbar (Fix Pin Manually) .. ELAPSED TiME: #1: Implement Updates Manually using DiSM Windows 8.1 .. Elapsed Time: 00:00:01.918 ---> 01:10:57.163 [± 01:10:55.250] .. t1 = 00:00:03.962 ---> 00:00:09.334 [± 00:00:05.442] ~ Export boot.wim (DiSM) .. t2 = 00:00:09.334 ---> 00:03:32.921 [± 00:03:23.536] ~ Export install.wim (WimLib.v1.8.2-BETA1) .. t3 = 00:03:33.338 ---> 00:04:44.659 [± 00:01:11.321] ~ Mount 'install.wim' .. t4 = 00:04:44.867 ---> 00:55:20.400 [± 00:50:35.532] ~ Add-Package .. t4a = 00:04:44.867 ---> 00:51:14.529 [± ::.] ~ Add-Package windows-7-sp1-x86-enu_2014-09-09 .. t4b = 00:51:14.529 ---> 00:54:17.003 [± ::.] ~ Add-Package windows-8.1-update-x86-enu-2015-03-25 .. t4c = 00:54:17.003 ---> 00:55:20.400 [± ::.] ~ Add-Package wrex-70-updates-downloader-v.2015.07 .. t5 = 00:55:20.400 ---> 01:04:26.571 [± 00:09:06.170] ~ Saving Modified 'install.wim' .. t6 = 01:04:26.571 ---> 01:06:29.193 [± 00:02:02.622] ~ Unmounts Modified 'install.wim' .. t7 = 01:06:29.402 ---> 01:10:44.239 [± 00:04:14.837] ~ Optimized updated install.wim .. #2: Slimmingdown using WinReducer EX-70 - v1.1.3.0 (03 July 2015) .. Elapsed Time: [± 00:35:58.781] .. t1 = 00:00:28.361 ---> 00:01:57.200 [± 00:01:28.838] ~ Load Images from iSO (CLiP1) .. t2 = 00:00:00.542 ---> 00:02:21.933 [± 00:02:21.391] ~ Mount WiM File .. t3 = 00:03:03.099 ---> 00:35:47.144 [± 00:32:44.045] ~ Apply WiM File (545) / Integrate - Updates .. t4 = [± 00:12:31.584] ~ Save in an iSO File .. t5 = [± 00:00:10.427] ~ OPTiONAL: Delete Windows 7 winRE.wim File before Save in WiM/iSO .. t6 = [± 00:12:21.157] ~ Save in an iSO File .. #3: Slimmingdown using WinReducer EX-70 - v1.1.5.0 (22 July 2015) .. Elapsed Time: [± 00:36:34.275] .. t1 = 00:00:28.361 ---> 00:01:57.200 [± 00:01:28.838] ~ Load Images from iSO .. t2 = 00:00:00.542 ---> 00:02:21.933 [± 00:02:21.391] ~ Mount WiM File .. t3 = 00:03:03.099 ---> 00:35:47.144 [± 00:32:44.045] ~ Apply WiM File (546) / Integrate - Updates (264/260) .. t4 = [± 00:12:31.584] ~ Save in an iSO File .. t5 = [± 00:00:10.427] ~ OPTiONAL: Delete Windows 7 winRE.wim File after Mount WiM File or before Save in WiM/iSO .. t6 = [± 00:12:21.157] ~ Save in an iSO File .. .. TRiAL RUN RESULTS: SiZE BEFORE: ##: 2.10 GB (2,255,803,025 bytes) [24 Files, 8 Folders] ##: 129 MB ( 136,284,209 bytes) [#_DiSM_boot.wim] ##: 1.94 GB (2,090,643,245 bytes) [#_WimLib_install.wim] .. SiZE AFTER: #3: Slimmingdown using WinReducer EX-70 - v1.1.5.0 (22 July 2015) ##: 787 MB (826,072,342 bytes) [16 Files, 8 Folders] ##: 107 MB (112,668,899 bytes) [#_#_boot.wim] ##: 675 MB (708,388,904 bytes) [#_#_install.wim] ##: 788 MB (826,810,368 bytes) [#_#.iso] Install Windows: WORKED (235 Updates Installed) Known Bugs: - Missing Shortcut Internet Explorer (iE11) on Taskbar (Fix Pin Manually) .. #2: Slimmingdown using WinReducer EX-70 - v1.1.3.0 (03 July 2015) ##: 712 MB (746,691,561 bytes) [16 Files, 8 Folders] ##: 109 MB (114,692,337 bytes) [#_#_boot.wim] ##: 597 MB (626,985,009 bytes) [#_#_install.wim] ##: 712 MB (747,429,888 bytes) [#_#.iso] Install Windows: FAiLED Known Bugs: - Error: 3 The directory \%MOUNTDiR%\Windows does not appear to be a valid Windows directory. Ensure that the /WinDir option that is specified is valid. For more information, refer to the help by running DISM.exe /WinDir /?. - Install Windows: Windows could not apply unattend settings during pass [offlineServicing]. - EXPERiMENTAL Work Folder Not Cleanup : 13.9 MB (14,673,100 bytes) [182 Files, 99 Folders] .. #1: Implement Updates Manually using DiSM Windows 8.1 ##: 2.61 GB (2,808,238,978 bytes) [24 Files, 8 Folders] ##: 129 MB ( 136,284,209 bytes) [#_DiSM_boot.wim] ##: 2.46 GB (2,643,079,198 bytes) [#_WimLib_install.wim] ##: 2.60 GB (2,797,019,136 bytes) [#_en_windows_7_ultimate_with_sp1_x86_updates_20150712_DiSM.iso] Install Windows: WORKED (236 Updates Installed) Known Bugs: NA .. == ========================================================================= == CMD CODE : =========================================================== ========================================================================= == SET TiTLE=Implement Windows 7 SP1 x86 Updates 20150712 Manually with DiSM TiTLE %TiTLE% @echo off cls REM ====================================================================== REM == Implement Windows 7 SP1 x86 Updates 20150712 Manually with DiSM === REM ====================================================================== SET WiNSRC=X: SET WORKDiR=D:\Programs\WiNTools\WinReducer\WinReducerEX70\WORK SET WiN70DiR=%WORKDiR%\EXTRACT\ExtractedByWinReducer SET WimLib=D:\Projects\[DEV]\TOOLS\WimLib\v1.8.2-BETA1\wimlib-imagex.exe REM ...................................................................... REM .. Insert or Mount Original Windows 7 Ultimate SP1 (x86) DVD or iSOs ! REM ...................................................................... REM ...................................................................... REM .. Preparation for Implement Updates, please wait ... ................ REM ...................................................................... MD "%WiN70DiR%\sources" XCOPY "%WiNSRC%\boot" "%WiN70DiR%\boot" /cherkyi >NUL XCOPY "%WiNSRC%\efi" "%WiN70DiR%\efi" /cherkyi >NUL COPY /Y "%WiNSRC%\bootmgr" "%WiN70DiR%" >NUL COPY /Y "%WiNSRC%\sources\ei.cfg" "%WiN70DiR%\sources" >NUL COPY /Y "%WiNSRC%\sources\lang.ini" "%WiN70DiR%\sources" >NUL COPY /Y "%WiNSRC%\sources\setup.exe" "%WiN70DiR%\sources" >NUL REM ******************************************************************** REM ** For Your Information (FYi) : ** REM ** Exporting WiM File with WimLib-ImageX more smaller than DiSM ! ** REM ** boot.wim (DiSM) : 129 MB ( 136,284,209 bytes) ** REM ** boot.wim (WimLib) : 129 MB ( 136,265,908 bytes) ** REM ** install.wim (DiSM) : 1.97 GB (2,120,094,913 bytes) ** REM ** install.wim (WimLib) : 1.94 GB (2,090,643,245 bytes) ** REM ******************************************************************** REM ** Knowing Bug: ** REM ** boot.wim (WimLib) [Not Recommended] ** REM ** File: \windows\system32\boot\winload.exe ** REM ** Status: 0xc0000001 ** REM ** Info: The Selected entry could not loaded because ** REM the application is missing or corrupt. ** REM ******************************************************************** REM ...................................................................... REM .. Exporting 'boot.wim' file with "DiSM.Win8.1", please wait ... REM ...................................................................... SET BOOTWiM1=%WiNSRC%\sources\boot.wim SET BOOTWiM2=%WiN70DiR%\sources\boot.wim DiSM /Export-Image /SourceImageFile:"%BOOTWiM1%" /SourceIndex:2 /DestinationImageFile:"%BOOTWiM2%" /Compress:max /CheckIntegrity REM ...................................................................... REM .. Exporting 'install.wim' file with "DiSM.Win8.1", please wait ... REM ...................................................................... REM SET WiMFiLE=%WiNSRC%\sources\install.wim REM SET DiSM_WiMFiLE=%WiN70DiR%\sources\install.wim REM DiSM /Export-Image /SourceImageFile:"%WiMFiLE%" /SourceIndex:5 /DestinationImageFile:"%DiSM_WiMFiLE%" /Compress:max /CheckIntegrity REM ...................................................................... REM .. Exporting 'install.wim' file with "WimLib.v1.8.1", please wait ... REM ...................................................................... SET WiMFiLE=%WiNSRC%\sources\install.wim SET WiMLiB_WiMFiLE=%WiN70DiR%\sources\install.wim "%WimLib%" export "%WiMFiLE%" 5 "%WiMLiB_WiMFiLE%" --check --compress=LZX >NUL REM ====================================================================== REM == Preparation for Implement Updates Done. =========================== REM == You May Eject or Unmount Inserted DVDs or iSOs. =================== REM ====================================================================== REM ====================================================================== REM == Add-Package All Downloaded Windows Updates ! ====================== REM ====================================================================== REM == Windows Updates Downloader (WUD) ================================== REM == URLs: http://www.windowsupdatesdownloader.com/ProgramFiles.aspx === REM == (ULs): http://www.windowsupdatesdownloader.com/UpdateLists.aspx === REM ====================================================================== REM == Update Lists (ULs): Windows 7 Service Pack 1 x86 ENU (2014-09-09) = REM == Description: ====================================================== REM == Security Updates : 114 Files, 149 MB (157,148,982 bytes) REM == Non-Security Updates : 104 Files, 419 MB (439,758,022 bytes) REM == * Windows6.1-KB2533552-x86.msu may have failed due pending updates REM == to servicing components in the image. Deleted Manually ... ======= REM == .NET Framework 3.5.1 Updates : 23 Files, 122 MB (128,310,138 bytes) REM == Optional Updates (iE11-x86) : 2 Files, 29.5 MB (30,991,696 bytes) REM == WMP12-Updates : 2 Files, 12.5 MB (13,190,311 bytes) REM ====================================================================== REM == Update Lists (ULs): Windows 8.1 Update x86 ENU (2015-03-25) ======= REM == Description: ====================================================== REM == Security Updates : 15 Files, 45.2 MB (47,411,187 bytes) =========== REM == - Windows8.1-KB3032323-x86.msu, Windows8.1-KB3035132-x86.msu, ===== REM == - Windows8.1-KB3046049-x86.msu, Windows8.1-KB3033889-x86.msu, ===== REM == - Windows8.1-KB3039066-x86.msu, Windows8.1-KB3035126-x86.msu, ===== REM == - Windows8.1-KB3030377-x86.msu, Windows8.1-KB3032359-x86.msu, ===== REM == - Windows8.1-KB3013455-v2-x86.msu, Windows8.1-KB3000483-x86.msu, == REM == - Windows8.1-KB3004361-x86.msu, Windows8.1-KB3020393-x86.msu, ===== REM == - Windows8.1-KB3022777-x86.msu, Windows8.1-KB3021674-x86.msu, ===== REM == - Windows8.1-KB3019215-x86.msu. =================================== REM == Non-Security Updates : 2 Files, 1.37 MB (1,437,190 bytes) ========= REM == - Windows8.1-KB3020338-x86.msu, Windows8.1-KB3004394-x86.msu, ===== REM == .NET Framework 3.5 Updates : 9 Files, 82.3 MB (86,352,565 bytes) REM == .NET Framework 4.5.2 Updates : 5 Files, 16.8 MB (17,698,122 bytes) REM ====================================================================== REM == WinReducer EX-70 "Updates Downloader" tool (v.2015.07) ============ REM == Description: ====================================================== REM == iE11 : 2 Files, 28.4 MB (29,793,310 bytes) ======================== REM ====================================================================== REM == Total(s): 278 Files, 5 Folders, 907 MB (952,091,523 bytes) ======== REM ====================================================================== REM ...................................................................... REM .. Cleaning DiSM log file before Add-Package ! ....................... REM ...................................................................... DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log.bak" > NUL REM iMPORTANT: REM * This will run in silent mode and require some time, REM * so please be patient ... REM ... SET W70UPDiR=D:\Downloads\SOFTWARE\[WUD]\windows-7-sp1-x86 SET W81UPDiR=D:\Downloads\SOFTWARE\[WUD]\windows-8.1-update-x86 SET WREXUPDiR=D:\Downloads\SOFTWARE\[WUD]\[WREX] SET SCRATCH=D:\Projects\[DEV]\MOUNTDiR\WREX70\SCRATCH MD "%SCRATCH%" REM ...................................................................... REM .. Mount and Modify Windows 7 SP1 x86 ENU "install.wim" Image ! ..... REM ...................................................................... SET MOUNT=D:\Projects\[DEV]\MOUNTDiR\WREX70\DiSM_MOUNT SET WiMFiLE=%WiN70DiR%\sources\install.wim MD "%MOUNT%" DiSM /Mount-Image /ImageFile:"%WiMFiLE%" /Index:1 /MountDir:"%MOUNT%" REM ...................................................................... REM .. Generating information about all packages before Add-Package ! .... REM ...................................................................... SET LOGFiLE1=%WiN70DiR%\_all-packages_with_DiSM_a.before_updates.log DiSM /Get-MountedImageInfo > "%LOGFiLE1%" DiSM /image:"%MOUNT%" /Get-Packages >> "%LOGFiLE1%" REM ...................................................................... REM .. Add-Package WinReducer EX-70 "Updates Downloader" (v.2015.07) ..... REM ...................................................................... SET LOGFiLE=%WiN70DiR%\Add-Package WinReducer EX-70 Updates Downloader (v.2015.07) Manually with DiSM.log DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%WREXUPDiR%\iE11" /ScratchDir:"%SCRATCH%" > "%LOGFiLE%" REM ...................................................................... REM .. Add-Package Windows 8.1 Update x86 ENU (2015-03-25) ............... REM .. refer to windows-7-sp1-x86-enu-2015-01-13.ulz ! ................... REM ...................................................................... SET LOGFiLE=%WiN70DiR%\Add-Package Windows 8.1 Update x86 ENU (2015-03-25) Manually with DiSM.log DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3032323-x86.msu" /ScratchDir:"%SCRATCH%" > "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3035132-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3046049-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3033889-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3039066-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3035126-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3030377-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3032359-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3013455-v2-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3000483-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3004361-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3020393-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3022777-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3021674-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Security Updates\Windows8.1-KB3019215-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Non-Security Updates\Windows8.1-KB3020338-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\Non-Security Updates\Windows8.1-KB3004394-x86.msu" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\.NET Framework 3.5 Updates" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W81UPDiR%\.NET Framework 4.5.2 Updates" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" REM ...................................................................... REM .. Add-Package Windows 7 Service Pack 1 x86 ENU (2014-09-09) ......... REM ...................................................................... SET LOGFiLE=%WiN70DiR%\Add-Package Windows 7 SP1 x86 ENU (2014-09-09) Manually with DiSM.log DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W70UPDiR%\Security Updates" /ScratchDir:"%SCRATCH%" > "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W70UPDiR%\Non-Security Updates" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W70UPDiR%\.NET Framework 3.5.1 Updates" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W70UPDiR%\Optional Updates" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" DiSM /Image:"%MOUNT%" /Add-Package /PackagePath:"%W70UPDiR%\WMP12 Updates" /ScratchDir:"%SCRATCH%" >> "%LOGFiLE%" REM ...................................................................... REM .. OPTiONAL: Delete Windows 7 winRE.wim File ......................... REM .. After Mount WiM File or Before Saving Modified WiM File ........... REM .. FileSize 138 MB (145,287,084 bytes) ............................... REM ...................................................................... REM SET MOUNT=D:\Projects\[DEV]\MOUNTDiR\WREX70\DiSM_MOUNT ATTRiB -R -A -S -H "%MOUNT%\Windows\System32\Recovery\winRE.wim" DEL /F /Q "%MOUNT%\Windows\System32\Recovery\winRE.wim" > NUL REM ...................................................................... REM .. Saving Modified 'install.wim' images, please wait ... REM ...................................................................... DiSM /Commit-Image /MountDir:"%MOUNT%" /CheckIntegrity REM ...................................................................... REM .. Generating information about all packages after Add-Package ! ..... REM ...................................................................... SET LOGFiLE2=%WiN70DiR%\_all-packages_b.after_updated_with_DiSM.log DiSM /Get-MountedImageInfo > "%LOGFiLE2%" DiSM /image:"%MOUNT%" /Get-Packages >> "%LOGFiLE2%" REM ...................................................................... REM .. Unmounts Modified 'install.wim' images, please wait ... REM ...................................................................... DiSM /Unmount-Image /MountDir:"%MOUNT%" /Discard REM ...................................................................... REM .. Cleaning Temporary all Mounted WiM image, Folder and Files ! REM ...................................................................... DiSM /Cleanup-Mountpoints > NUL RD /S /Q "%MOUNT%" > NUL RD /S /Q "%SCRATCH%" > NUL REM ...................................................................... REM .. Optimizing 'install.wim' file with "WimLib.v1.8.2-BETA1" ! ........ REM ...................................................................... SET WiMFiLE1=%WiN70DiR%\sources\install.wim SET WiMFiLE2=%WiN70DiR%\sources\install.opt.wim "%WimLib%" export "%WiMFiLE1%" 1 "%WiMFiLE2%" --check --compress=LZX >NUL REM Replacing old 'install.wim' with new Optimized 'install.wim' ! DEL "%WiMFiLE1%" RENAME "%WiMFiLE2%" install.wim REM ...................................................................... REM .. Backup "dism.log" file for analysis before Slimmingdown ! ......... REM ...................................................................... SET LOGFiLE1a=%WiN70DiR%\_dism_1_after_Updated_with_DiSM_Manually.log MOVE /Y "%WiNDiR%\Logs\DiSM\dism.log.bak" "%LOGFiLE1a%" > NUL REM ====================================================================== REM == Implement Windows 7 SP1 x86 Updates with DiSM Manually Done ! ===== REM ====================================================================== REM ====================================================================== REM == OPTiONAL: Convert or Exporting Windows WiM to New ESD File ! ====== REM ====================================================================== SET WORKDiR=D:\Programs\WiNTools\WinReducer\WREX70 SET WiN70DiR=%WORKDiR%\EXTRACT\ExtractedByWinReducer SET WiMFiLE=%WiN70DiR%\sources\install.wim REM ** For Your Information (FYi) : ** REM ** Converting ESD File with DiSM more smaller than WimLib-ImageX ** REM ** or for GUi Interfaces use WinReducer ES - WiM Converter ** REM *** This will require some time, high CPU and Disk usage, *** REM *** please be patient !!! *** REM ...................................................................... REM .. Convert or Exporting WiM to New ESD File with "DiSM.Win8.1" ! ..... REM ...................................................................... SET DiSM_ESDFiLE=%WiN70DiR%\sources\install.esd DiSM /Export-Image /SourceImageFile:"%WiMFiLE%" /SourceIndex:1 /DestinationImageFile:"%DiSM_ESDFiLE%" /Compress:recovery /CheckIntegrity REM ...................................................................... REM .. Exporting 'install.wim' file with "WimLib.v1.8.2-BETA1", please wait ... REM ...................................................................... REM SET WimLib=%WORKDiR%\TOOLS\WimLib\v1.8.1\wimlib-imagex.exe REM SET WiMLiB_ESDFiLE=%WiN70%\sources\WimLib.install.esd REM "%WimLib%" export "%WiMFiLE%" 1 "%WiMLiB_ESDFiLE%" --check --compress=recovery --solid >NUL REM ...................................................................... REM .. Replacing Old ESD File with New ESD File ! ........................ REM ...................................................................... DEL "%*_ESDFiLE%" RENAME "%*_ESDFiLE%" install.esd REM ====================================================================== REM == OPTiONAL: Create iSO Image using OSCDiMG 2.56 Manually ! ......... REM ====================================================================== TITLE Creating Windows 7 iSO Image using OSCDiMG 2.56 Manually ! @echo off cls REM ====================================================== REM == CREATiNG WiNDOWS 7.ULTiMATE.SP1 32-BiT iSO iMAGE == REM == WiTH OSCDiMG 2.56 CD/DVD-ROM Premastering == REM ====================================================== SET WREX70DiR=D:\Programs\WiNTools\WinReducer\WinReducerEX70 SET WiN70DiR=%WREX70DiR%\WORK\EXTRACT\ExtractedByWinReducer SET LABEL=GRMCULFRER_EN_SP1-_20150712 SET iSONAME=en_windows_7_ultimate_with_sp1_x86_updates_with_DiSM.iso SET BOOT=%WiN70DiR%\boot\etfsboot.com SET iSODiR=D:\Projects\[DEV]\WiN7SP1\[iSOFiLE] SET iSOFiLE=%iSODiR%\%iSONAME% SET OSCDiMG=D:\Projects\[DEV]\TOOLS\WinUniX\OSCDiMG.exe SET TD=07/13/2015,22:30:00 "%OSCDiMG%" -b"%BOOT%" -l"%LABEL%" -t%TD% -m -h -u1 -o "%WiN70DiR%" "%iSOFiLE%" REM ...................................................................... REM .. OPTiONAL: Change info 'install.wim' file with "GImageX v2.0 ! ..... REM ...................................................................... REM NEW NAME: Windows 7 Ultimate SP1 Rollup Update (Remastered 2015-07-11) REM NEW DESC: Windows 7 Ultimate with Service Pack 1 Retail English with REM Integrating Rollup Updates (Remastered 2015-07-11) REM ...................................................................... REM .. OPTiONAL: Cleaning DiSM log file before Run WinReducer EX-70 ! .... REM ...................................................................... DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log.bak" > NUL REM ====================================================================== REM == Slimmingdown with WinReducer EX-70 - v1.1.5.0 (22 July 2015) !!! == REM ====================================================================== REM ...................................................................... REM .. OPTiONAL: Delete Windows 7 winRE.wim File ......................... REM .. After Mount WiM File or Before Save in a WiM or an iSO File ....... REM .. FileSize 138 MB (145,287,084 bytes) ............................... REM ...................................................................... REM SET WORKDiR=D:\Programs\WiNTools\WinReducer\WREX70\WORK REM SET MOUNT=%WORKDiR%\MOUNT\TEMP_Windows REM ATTRiB -R -A -S -H "%MOUNT%\Windows\System32\Recovery\winRE.wim" REM DEL /F /Q "%MOUNT%\Windows\System32\Recovery\winRE.wim" > NUL REM ...................................................................... REM .. Backup and Cleaning DiSM log file ! ............................... REM ...................................................................... SET LOGFiLE2a=%WiN70DiR%\_dism_2_after_Slimmingdown_WREX70.v1.1.5.0.log SET LOGFiLE2b=%WiN70DiR%\_dism_2_after_Slimmingdown_WREX70.v1.1.5.0.log.bak COPY /Y "%WiNDiR%\Logs\DiSM\dism.log" "%LOGFiLE2a%" > NUL COPY /Y "%WiNDiR%\Logs\DiSM\dism.log.bak" "%LOGFiLE2b%" > NUL DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" > NUL DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log.bak" > NUL REM ...................................................................... REM .. Generating information about all packages before Add-Package ! .... REM ...................................................................... SET WORKDiR=D:\Programs\WiNTools\WinReducer\WinReducerEX70\WORK SET WiN70DiR=%WORKDiR%\EXTRACT\ExtractedByWinReducer REM Mount Windows 7 SP1 x86 ENU "install.wim" Image ! ..... SET MOUNT=D:\Projects\[DEV]\MOUNTDiR\WREX70\DiSM_MOUNT SET WiMFiLE=%WiN70DiR%\sources\install.wim MD "%MOUNT%" DiSM /Mount-Image /ImageFile:"%WiMFiLE%" /Index:1 /MountDir:"%MOUNT%" REM Generating information about all packages before Add-Package ! .... SET LOGDiR=D:\Projects\[DEV]\WiN7SP1\TRiAL.RUN\[DiSM]\logs SET LOGFiLE3=%WiN70DiR%\_all-packages_c.after_updated_with_DiSM+slimmingdown_with_WREX70.v1.1.5.0.log DiSM /Get-MountedImageInfo > "%LOGFiLE3%" DiSM /image:"%MOUNT%" /Get-Packages >> "%LOGFiLE3%" REM Unmounts 'install.wim' images, please wait ... DiSM /Unmount-Image /MountDir:"%MOUNT%" /Discard REM .. Cleaning Temporary all Mounted WiM image, Folder and Files ! DiSM /Cleanup-Mountpoints > NUL RD /S /Q "%MOUNT%" > NUL REM ====================================================================== REM == Slimmingdown with WinReducer EX-70 - v1.1.5.0 Done ! ============== REM ====================================================================== REM ====================================================================== REM == OPTiONAL: Create iSO Image using OSCDiMG 2.56 Manually ! ......... REM ====================================================================== TITLE Creating Windows 7 iSO Image using OSCDiMG 2.56 Manually ! @echo off cls REM ====================================================== REM == CREATiNG WiNDOWS 7.ULTiMATE.SP1 32-BiT iSO iMAGE == REM == WiTH OSCDiMG 2.56 CD/DVD-ROM Premastering == REM ====================================================== SET WREX70DiR=D:\Programs\WiNTools\WinReducer\WinReducerEX70 SET WiN70DiR=%WREX70DiR%\WORK\EXTRACT\ExtractedByWinReducer SET LABEL=WREX70_EN_SP1_20150721 SET iSONAME=WinReducerEX70.v1.1.5.0_WinSXS_Cleanup.iso.iso SET BOOT=%WiN70DiR%\boot\etfsboot.com SET iSODiR=D:\Projects\[DEV]\WiN7SP1\[iSOFiLE] SET iSOFiLE=%iSODiR%\%iSONAME% SET OSCDiMG=D:\Projects\[DEV]\TOOLS\WinUniX\OSCDiMG.exe SET TD=07/21/2015,17:34:00 "%OSCDiMG%" -b"%BOOT%" -l"%LABEL%" -t%TD% -m -h -u1 -o "%WiN70DiR%" "%iSOFiLE%" == ============================================================================= ==