WinReducer.net Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
home7ech
home7ech

Slipstream Windows 7 SP1 Manually using DiSM Empty Slipstream Windows 7 SP1 Manually using DiSM

on Wed 6 Feb 2019 - 18:15
Hi,

FYi : Intergrating Service Pack 1 using EX-70 V1.7.0.0 above just fine, but it seem take more time Wink

so i'd used DiSM Manually before adding the Internet Explorer 11 and latest Windows 7 updates or reducing using EX-70 ! thanks to FAQforge

Prerequisite for Slipstream Windows 7 SP1 ::

Just to summarise, if you have Windows 7 iso, you need to have:

1. KB976932 – This is Windows 7 and Windows Server 2008 R2 Service Pack 1 (KB976932)
   » Url: https://www.microsoft.com/en-us/download/details.aspx?id=5842
          https://www.techpowerup.com/download/microsoft-windows-7-service-pack-1/
   Microsoft Update Catalog
   » Url: https://www.catalog.update.microsoft.com/Search.aspx?q=KB976932
   » Date Published: : 3/15/2011
   » File: windows6.1-KB976932-X64.exe
   » Size: 903.2 MB
   » Download Link: https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe
   ...
2. Deployment Image Servicing and Management tool (DiSM)
   you can used DiSM from WinReducer EX-70/EX-100 Software.
   e.g : PATH:\EX-70-EX-100\HOME\SOFTWARE\x86-x64\DiSM\dism.exe
   ...
3. WimLib - Windows Imaging (WiM) library
   » Url: https://wimlib.net/downloads/index.html
   » Released: : 2018-11-24
   » File: wimlib-1.13.0-windows-i686-bin.zip
   » Size: 1035 KB
   » Download Link: https://wimlib.net/downloads/wimlib-1.13.0-windows-i686-bin.zip
   ...

here is my simple CMD code ::


SET TiTLE=Slipstream Windows 7 SP1 Manually using DiSM
TiTLE "%TiTLE%" !
REM ======================================================================
REM == *** WARNiNG *** ===================================================
REM == This script require administrator privileges... ===================
REM == To do so, 'Run Command Prompt (Administrator)' ! ==================
REM ======================================================================
@echo off
cls

REM ============================================================
REM Extracting Windows 7 Service Pack 1 (KB976932) File... !
REM ============================================================
SET SP1FiLE=windows6.1-KB976932-X64.exe
SET SP1DiR=D:\Internet\Downloads\Completed\.tmp\Software
SET EXPDiR=D:\W7\WORK\INTEGRATE\UPDATES\x64\SP1

MD %EXPDiR%\01"
"%SP1DiR%\%SP1FiLE%"  /X:"%EXPDiR%\01"

MD %EXPDiR%\02"
EXPAND "%EXPDiR%\01"\windows6.1-KB976932-X64.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\NestedMPPContent.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab0.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab1.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab2.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab3.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab4.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab5.cab -F:* "%EXPDiR%\02" >NUL

EXPAND "%EXPDiR%\02"\KB976933-LangsCab6.cab -F:* "%EXPDiR%\02" >NUL

REM Done Extracting Windows 7 Service Pack 1 (KB976932) File...

PAUSED

REM Now you have to edit three files via Editor - the first one is
REM "Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514.mum"
REM (the name might slightly differ from the file in your folder).
REM Open it and scroll down to the last but one line.
REM Change the "false" in allowedOffline="false" to "true",
REM save and quit the document.

REM Next, open "update.mum" and do the exact same thing as before.

REM Afterwards, open "update.ses". Look for the last two lines reading
REM targetState=”Absent” and change "Absent" to "Installed".

REM ============================================================
REM OPTiONAL: Cleaning iF EXiST DiSM log file...
REM ============================================================

DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log" >NUL
DEL /F /Q "%WiNDiR%\Logs\DiSM\dism.log.bak" >NUL

REM Done OPTiONAL: Cleaning iF EXiST DiSM log file...

REM ============================================================
REM == Mount and Modify Windows WiMFiLE (install.wim) image...
REM ============================================================
SET WiMFiLE=D:\W7\WORK\EXTRACT\ExtractedByWinReducer\sources\install.wim
SET DiSM10=D:\W10\HOME\SOFTWARE\x86\DISM\dism.exe
SET MOUNT=D:\Temp\W7\MOUNT

%DiSM10% /Mount-Wim /WimFile:"%WiMFiLE%" /Index:1 /MountDir:"%MOUNT%"

REM Done Mounts Windows WiMFiLE (install.wim) image...

REM ===========================================================
REM Add-Package Windows 7 Service Pack 1 (KB976932) File ======
REM ===========================================================
SET SCRATCH=D:\Temp\W7\SCRATCH

MD "%SCRATCH%"

%DiSM10% /Image:"%MOUNT%" /Add-Package /PackagePath:"%EXPDiR%\02" /ScratchDir:"%SCRATCH%"

REM Done Add-Package Windows 7 Service Pack 1 (KB976932) File...

REM ============================================================
REM == Saving (Commit) Before Unmount Modified WiM File ========
REM ============================================================

%DiSM10% /Commit-Wim /MountDir:"%MOUNT%"

REM Done Saving (Commit) Before Unmount Modified WiM File...

REM ============================================================
REM == Unmounts Modified WiMFiLE (install.wim) image...
REM ============================================================

%DiSM10% /Unmount-Wim /MountDir:"%MOUNT%" /Discard

REM Done Unmounts Modified WiMFiLE (install.wim) image...

REM ============================================================
REM OPTiONAL: Optimizing install.wim file...
REM ============================================================
SET WiN7PATH=D:\W7\WORK\EXTRACT\ExtractedByWinReducer
SET WimLib=D:\Projects\[DEV]\TOOLS\WimLib\1.13.0\x86\wimlib-imagex.exe
SET WiMFiLE1="%WiN7PATH%\sources\install.wim"
SET WiMFiLE2="%WiN7PATH%\sources\new-install.wim"

"%WimLib%" export "%WiMFiLE1%" 1 "%WiMFiLE2%" --compress=lzx

DEL /F "%WiMFiLE1%"
RENAME "%WiMFiLE2%" install.wim

REM Done OPTiONAL: Optimizing install.wim file...

REM ============================================================
REM Cleaning Temporary Windows Updates file...
REM ============================================================

%DiSM10% /Cleanup-Mountpoints >NUL
RD /S /Q "%SCRATCH%" >NUL
RD /S /Q "%EXPDiR%\01" >NUL
RD /S /Q "%EXPDiR%\02" >NUL

REM Done Cleaning Temporary Windows Updates file...

REM ============================================================
REM OPTiONAL: Backup DiSM log file...
REM ============================================================
SET LOGDiR=D:\Projects\[DEV]\WiN7SP1\7601.17514.amd64fre.win7sp1_rtm.101119-1850_dism.log

MOVE /Y "%WiNDiR%\Logs\DiSM\dism.log" "%DiSMLOG%" >NUL
MOVE /Y "%WiNDiR%\Logs\DiSM\dism.log.bak" "%DiSMLOG%.bak" >NUL

REM Done Backup DiSM log file...

REM ======================================================================
REM Done Slipstream Windows 7 SP1 Manually using DiSM ====================
REM ======================================================================

Read Full Results: http://pasted.co/3755a5dc

Useful Link : Manually Slipstream SP1 Into Windows 7 Installer DVD

Working PC iNFO::
• 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)
• HardDisk1: WDC WD5000AKS-00UU3A0 (500 GB)
• OS1: Windows 7 Ultimate Build 7601.24308.amd64fre.win7sp1_ldr.181111-0600
• OS2: Windows 10 Professional Build 16299.15.x86fre.rs3_release.170928-1534

Thanks, hope this helps some Smile

 _________________
 home7ech
 pS : Creative Learning by Doing, Slowly but Do iT Cool's
Back to top
Permissions in this forum:
You cannot reply to topics in this forum