Create a new Windows 7 ISO updated to April 2016
Create a new Windows 7 ISO updated to April 2016
Microsoft has released KB3125574 which is a convenience update of critical updates from 2011 (SP1) to April 2016.
You can just download the file and patch a fresh SP1 installation, or you can integrate it as follows:
------------------------------------------------------------------------------------------------------------------------------------------
1. Download the following files from Microsoft:
----------------------------------------------------
This update is a required prerequisite for KB3125574:
Windows6.1-KB3020369-x64.msu
or
Windows6.1-KB3020369-x86.msu
from: https://support.microsoft.com/en-gb/kb/3020369
----------------------------------------------------
This update is optional (I chose to add it):
Windows6.1-KB2670838-x64.msu
or
Windows6.1-KB2670838-x86.msu
from: https://support.microsoft.com/en-gb/kb/2670838
----------------------------------------------------
This is the large update:
windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
or
windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
from: https://support.microsoft.com/en-gb/kb/3125574
----------------------------------------------------
etfsboot.com is the boot sector file that will go into the new DVD
etfsboot.com
(use for both 32-bit and 64-bit)
MD5: d4befebf3cef129ac087422b9e912788
SHA-1: 62313ec73f381c052f2513ca6279cfb5107e98c0
etfsboot.com is available from your original Windows 7 SP1 DVD disc.
----------------------------------------------------
Oscdimg.exe is a command-line tool for creating an image file:
oscdimgamd64.exe
64-bit
MD5: 5b1b14ecbb167051f076a322caf39411
SHA-1: c47a541eb965272d8e2109d85a8b0b81a8d7c41e
Rename oscdimgamd64 to OSCDIMG.EXE
oscdimgx86.exe
32-bit
MD5: 37f0bc9593d1f3aa4a0f45a841784f8c
SHA-1: c8bf7ddc8be8b868ac47d91be0ebd10a8f162099
Rename oscdimgx86 to OSCDIMG.EXE
oscdimgamd64.exe and oscdimgx86.exe are available from The Windows® Automated Installation Kit (AIK) for Windows® 7
See here: https://www.microsoft.com/en-gb/downloa ... px?id=5753
Install the AIK and you should find it in “%Program Files%\Windows AIK\Tools\x64 or \x86
Use the 64-bit-bit file when creating either a 32-bit or a 64-bit image within a 64-bit environment
When creating a 64-bit image, only create it within a 64-bit environment
Use the 32-bit file when creating a 32-bit image within a 32-bit environment
copy the appropriate (32-bit or 64-bit) version to the OSCDIMG folder (see below) once it is renamed to OSCDIMG.EXE
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
2. Create a .cmd file to run the ISO creation process
----------------------------------------------------
For 64-bit, copy the text below into a .txt document and save it as "ISO Creator for 64-bit Win7.cmd"
CLS
@echo off
TITLE Creating ISO Image of 64-bit Windows 7
ECHO.
ECHO Removing attributes set on C:\7DVD, please wait......
attrib -R -H C:\7DVD /S /D
ECHO.
ECHO Creating Windows 7 ISO, please wait......
OSCDIMG.EXE -l64-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -betfsboot.com C:\7DVD C:\64-Bit_Win7_2016-04-26.ISO
ECHO.
PAUSE
EXIT
----------------------------------------------------
For 32-bit, copy the text below into a .txt document and save it as "ISO Creator for 32-bit Win7.cmd"
CLS
@echo off
TITLE Creating ISO Image of 32-bit Windows 7
ECHO.
ECHO Removing attributes set on C:\7DVD, please wait......
attrib -R -H C:\7DVD /S /D
ECHO.
ECHO Creating Windows 7 ISO, please wait......
OSCDIMG.EXE -l32-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -betfsboot.com C:\7DVD C:\32-Bit_Win7_2016-04-26.ISO
ECHO.
PAUSE
EXIT
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
3. Create folders in the root of the C:
Make a new empty folder called: -------------------- 7DVD
Make a new empty folder called: -------------------- 7RVM
Make a new empty folder called: -------------------- 7UNP
Copy Win7 SP1 DVD Image to C:
Extract DVD image and rename folder to: --------- 7SP1
Copy all required Updates to: ----------------------- 7RVM
Copy etfsboot.com, OSCDIMG.EXE and
either ISO Creator for 64-bit Win7.cmd
(or ISO Creator for 32-bit Win7.cmd) to: ---------- 7ISO
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
4. You should now have the following folders:
C:\7DVD (leave empty - manually copy the completed files to this drive later)
C:\7SP1 (with extracted contents of Win7SP1 ISO to this folder)(32-bit or 64-bit)
C:\7UNP (leave empty - this is where the unpacked files will be worked)
C:\7RVM (should contain Windows6.1-KB3020369-x64.msu, Windows6.1-KB2670838-x64.msu,
windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
and any other necessary updates in this folder)
(replace the above x64 files with x86 for a 32-bit disc)
C:\7ISO (should contain etfsboot.com, OSCDIMG.EXE, and
either ISO Creator for 64-bit Win7.cmd or ISO Creator for 32-bit Win7.cmd)
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
5a.Create the 64-bit image followed by the ISO:
Create 64-bit image:
Command Prompt - Run as administrator
Copy/paste the following into the Command Prompt window (one at a time):
Dism /Get-WIMInfo /WimFile:C:\7SP1\sources\install.wim
Dism /Mount-WIM /WimFile:C:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:C:\7UNP
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB3020369-x64.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB2670838-x64.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
Dism /Unmount-WIM /MountDir:C:\7UNP /Commit
Create 64-bit ISO:
manually copy the completed files from C\7SP1 to C:\7DVD
Optional - manually delete the ei.cfg file (C:\7DVD\sources\ei.cfg) in order to create an all-editions install image.
Open C:\7ISO and click on "ISO Creator for 64-bit Win7.cmd"
Right click - Run as administrator
Once completed, it will output an iso file called 64-Bit_Win7_2016-04-26.ISO in the root of the C:\ Drive
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
5b.Create the 32-bit image followed by the ISO:
Create 32-bit image:
Command Prompt - Run as administrator
Copy/paste the following into the Command Prompt window (one at a time):
Dism /Get-WIMInfo /WimFile:C:\7SP1\sources\install.wim
Dism /Mount-WIM /WimFile:C:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:C:\7UNP
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Unmount-WIM /MountDir:C:\7UNP /Commit
Create 32-bit ISO:
manually copy the completed files from C\7SP1 to C:\7DVD
Optional - manually delete the ei.cfg file (C:\7DVD\sources\ei.cfg) in order to create an all-editions install image.
Open C:\7ISO and click on "ISO Creator for 32-bit Win7.cmd"
Right click - Run as administrator
Once completed, it will output an iso file called 32-Bit_Win7_2016-04-26.ISO in the root of the C:\ Drive
------------------------------------------------------------------------------------------------------------------------------------------
Thanks to Kurt_Aust for suggesting improvements.
------------------------------------------------------------------------------------------------------------------------------------------
You can just download the file and patch a fresh SP1 installation, or you can integrate it as follows:
------------------------------------------------------------------------------------------------------------------------------------------
1. Download the following files from Microsoft:
----------------------------------------------------
This update is a required prerequisite for KB3125574:
Windows6.1-KB3020369-x64.msu
or
Windows6.1-KB3020369-x86.msu
from: https://support.microsoft.com/en-gb/kb/3020369
----------------------------------------------------
This update is optional (I chose to add it):
Windows6.1-KB2670838-x64.msu
or
Windows6.1-KB2670838-x86.msu
from: https://support.microsoft.com/en-gb/kb/2670838
----------------------------------------------------
This is the large update:
windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
or
windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
from: https://support.microsoft.com/en-gb/kb/3125574
----------------------------------------------------
etfsboot.com is the boot sector file that will go into the new DVD
etfsboot.com
(use for both 32-bit and 64-bit)
MD5: d4befebf3cef129ac087422b9e912788
SHA-1: 62313ec73f381c052f2513ca6279cfb5107e98c0
etfsboot.com is available from your original Windows 7 SP1 DVD disc.
----------------------------------------------------
Oscdimg.exe is a command-line tool for creating an image file:
oscdimgamd64.exe
64-bit
MD5: 5b1b14ecbb167051f076a322caf39411
SHA-1: c47a541eb965272d8e2109d85a8b0b81a8d7c41e
Rename oscdimgamd64 to OSCDIMG.EXE
oscdimgx86.exe
32-bit
MD5: 37f0bc9593d1f3aa4a0f45a841784f8c
SHA-1: c8bf7ddc8be8b868ac47d91be0ebd10a8f162099
Rename oscdimgx86 to OSCDIMG.EXE
oscdimgamd64.exe and oscdimgx86.exe are available from The Windows® Automated Installation Kit (AIK) for Windows® 7
See here: https://www.microsoft.com/en-gb/downloa ... px?id=5753
Install the AIK and you should find it in “%Program Files%\Windows AIK\Tools\x64 or \x86
Use the 64-bit-bit file when creating either a 32-bit or a 64-bit image within a 64-bit environment
When creating a 64-bit image, only create it within a 64-bit environment
Use the 32-bit file when creating a 32-bit image within a 32-bit environment
copy the appropriate (32-bit or 64-bit) version to the OSCDIMG folder (see below) once it is renamed to OSCDIMG.EXE
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
2. Create a .cmd file to run the ISO creation process
----------------------------------------------------
For 64-bit, copy the text below into a .txt document and save it as "ISO Creator for 64-bit Win7.cmd"
CLS
@echo off
TITLE Creating ISO Image of 64-bit Windows 7
ECHO.
ECHO Removing attributes set on C:\7DVD, please wait......
attrib -R -H C:\7DVD /S /D
ECHO.
ECHO Creating Windows 7 ISO, please wait......
OSCDIMG.EXE -l64-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -betfsboot.com C:\7DVD C:\64-Bit_Win7_2016-04-26.ISO
ECHO.
PAUSE
EXIT
----------------------------------------------------
For 32-bit, copy the text below into a .txt document and save it as "ISO Creator for 32-bit Win7.cmd"
CLS
@echo off
TITLE Creating ISO Image of 32-bit Windows 7
ECHO.
ECHO Removing attributes set on C:\7DVD, please wait......
attrib -R -H C:\7DVD /S /D
ECHO.
ECHO Creating Windows 7 ISO, please wait......
OSCDIMG.EXE -l32-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -betfsboot.com C:\7DVD C:\32-Bit_Win7_2016-04-26.ISO
ECHO.
PAUSE
EXIT
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
3. Create folders in the root of the C:
Make a new empty folder called: -------------------- 7DVD
Make a new empty folder called: -------------------- 7RVM
Make a new empty folder called: -------------------- 7UNP
Copy Win7 SP1 DVD Image to C:
Extract DVD image and rename folder to: --------- 7SP1
Copy all required Updates to: ----------------------- 7RVM
Copy etfsboot.com, OSCDIMG.EXE and
either ISO Creator for 64-bit Win7.cmd
(or ISO Creator for 32-bit Win7.cmd) to: ---------- 7ISO
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
4. You should now have the following folders:
C:\7DVD (leave empty - manually copy the completed files to this drive later)
C:\7SP1 (with extracted contents of Win7SP1 ISO to this folder)(32-bit or 64-bit)
C:\7UNP (leave empty - this is where the unpacked files will be worked)
C:\7RVM (should contain Windows6.1-KB3020369-x64.msu, Windows6.1-KB2670838-x64.msu,
windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
and any other necessary updates in this folder)
(replace the above x64 files with x86 for a 32-bit disc)
C:\7ISO (should contain etfsboot.com, OSCDIMG.EXE, and
either ISO Creator for 64-bit Win7.cmd or ISO Creator for 32-bit Win7.cmd)
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
5a.Create the 64-bit image followed by the ISO:
Create 64-bit image:
Command Prompt - Run as administrator
Copy/paste the following into the Command Prompt window (one at a time):
Dism /Get-WIMInfo /WimFile:C:\7SP1\sources\install.wim
Dism /Mount-WIM /WimFile:C:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:C:\7UNP
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB3020369-x64.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB2670838-x64.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
Dism /Unmount-WIM /MountDir:C:\7UNP /Commit
Create 64-bit ISO:
manually copy the completed files from C\7SP1 to C:\7DVD
Optional - manually delete the ei.cfg file (C:\7DVD\sources\ei.cfg) in order to create an all-editions install image.
Open C:\7ISO and click on "ISO Creator for 64-bit Win7.cmd"
Right click - Run as administrator
Once completed, it will output an iso file called 64-Bit_Win7_2016-04-26.ISO in the root of the C:\ Drive
------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
5b.Create the 32-bit image followed by the ISO:
Create 32-bit image:
Command Prompt - Run as administrator
Copy/paste the following into the Command Prompt window (one at a time):
Dism /Get-WIMInfo /WimFile:C:\7SP1\sources\install.wim
Dism /Mount-WIM /WimFile:C:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:C:\7UNP
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\7UNP /Add-Package /PackagePath:C:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Unmount-WIM /MountDir:C:\7UNP /Commit
Create 32-bit ISO:
manually copy the completed files from C\7SP1 to C:\7DVD
Optional - manually delete the ei.cfg file (C:\7DVD\sources\ei.cfg) in order to create an all-editions install image.
Open C:\7ISO and click on "ISO Creator for 32-bit Win7.cmd"
Right click - Run as administrator
Once completed, it will output an iso file called 32-Bit_Win7_2016-04-26.ISO in the root of the C:\ Drive
------------------------------------------------------------------------------------------------------------------------------------------
Thanks to Kurt_Aust for suggesting improvements.
------------------------------------------------------------------------------------------------------------------------------------------
Last edited by motokiume on Sun Jun 12, 2016 7:04 pm, edited 1 time in total.
Nice tutorial, a couple of notes though.
1. On my first attempt the Unmount-WIM command failed, probably because I had Windows Explorer open and pointed at one of the working directories, leading to me having to rename the directories for a second attempt.
2. The "ISO Creator for 64-bit Win7.cmd" batch file failed due to relative paths not being parsed, I had to change it to absolute paths:
C:\7ISO\OSCDIMG.EXE -l64-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -bC:\7ISO\etfsboot.com C:\7DVD C:\64-Bit_Win7_2016-04-26.ISO
3. You might want to suggest that the file C:\7DVD\sources\ei.cfg be deleted before creating the ISO in order to create an all-editions install image.
1. On my first attempt the Unmount-WIM command failed, probably because I had Windows Explorer open and pointed at one of the working directories, leading to me having to rename the directories for a second attempt.
2. The "ISO Creator for 64-bit Win7.cmd" batch file failed due to relative paths not being parsed, I had to change it to absolute paths:
C:\7ISO\OSCDIMG.EXE -l64-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -bC:\7ISO\etfsboot.com C:\7DVD C:\64-Bit_Win7_2016-04-26.ISO
3. You might want to suggest that the file C:\7DVD\sources\ei.cfg be deleted before creating the ISO in order to create an all-editions install image.
Thanks for your comments Kurt, it is only by getting feedback that I can get a chance to improve the above list.
Did you have etfsboot.com, OSCDIMG.EXE, and ISO Creator for 64-bit.cmd all together in the same folder - (C:\7ISO)?Kurt_Aust wrote:2. The "ISO Creator for 64-bit Win7.cmd" batch file failed due to relative paths not being parsed, I had to change it to absolute paths:
C:\7ISO\OSCDIMG.EXE -l64-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -bC:\7ISO\etfsboot.com C:\7DVD C:\64-Bit_Win7_2016-04-26.ISO
I never gave this a thought as it is not an issue for me, however, I have amended the above procedure to include this option.Kurt_Aust wrote:3. You might want to suggest that the file C:\7DVD\sources\ei.cfg be deleted before creating the ISO in order to create an all-editions install image.
Looking at it, you could make it easier for the end user (and hence less likely for them to make mistakes) by putting more into the batch files.
This reworking only requires that WAIK be installed, the source image be extracted to \7SP1 and all downloads saved to \7RVM (being the batch file & the 3 4 updates), no other directories needed (and the directories can be on any drive, although it should have at least 20GB free space).
ISO Creator for 64-bit Win7.cmd
ISO Creator for 32-bit Win7.cmd
This reworking only requires that WAIK be installed, the source image be extracted to \7SP1 and all downloads saved to \7RVM (being the batch file & the 3 4 updates), no other directories needed (and the directories can be on any drive, although it should have at least 20GB free space).
ISO Creator for 64-bit Win7.cmd
Code: Select all
@Echo off
Title Creating updated ISO Image of Windows 7 64-bit
Set Drive=C
Set Edition=0
CLS
Echo.
Set /P Drive=What drive are \7SP1 and \7RVM on? (Default C):
Copy %Drive%:\7SP1\boot\etfsboot.com %Drive%:\7RVM\
Rename %Drive%:\7RVM\oscdimgamd64.exe oscdimg.exe
Copy "%ProgramFiles%\Windows AIK\Tools\amd64\oscdimg.exe" %Drive%:\7RVM\
MkDir %Drive%:\7Bas
MkDir %Drive%:\7Hom
MkDir %Drive%:\7Pro
MkDir %Drive%:\7Ult
Echo.
Echo.
Echo Check that etfsboot.com and oscdimg.exe have been copied to %Drive%:\7RVM,
Echo close all other windows and disable your anti-virus program, then
Pause
Echo.
Echo.
Echo.
Echo Getting image info
Dism /Get-WIMInfo /WimFile:%Drive%:\7SP1\sources\install.wim
Echo.
Echo.
Echo.
Echo Which Edition? HomePremium(1), Professional(2), Ultimate(3) or All(0)
Set /P Edition=(Default All):
Echo.
Echo.
Echo.
Echo Mounting images
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 HomeBasic" /MountDir:%Drive%:\7Bas
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 HomePremium" /MountDir:%Drive%:\7Hom
If %Edition%==1 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 HomePremium" /MountDir:%Drive%:\7Hom
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Professional" /MountDir:%Drive%:\7Pro
If %Edition%==2 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Professional" /MountDir:%Drive%:\7Pro
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:%Drive%:\7Ult
If %Edition%==3 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:%Drive%:\7Ult
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Servicing Stack update
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x64.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Platform update
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x64.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Convenience Rollup update
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Windows Update fix
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x64.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Unmounting images
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Bas /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Hom /Commit
If %Edition%==1 Dism /Unmount-WIM /MountDir:%Drive%:\7Hom /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Pro /Commit
If %Edition%==2 Dism /Unmount-WIM /MountDir:%Drive%:\7Pro /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Ult /Commit
If %Edition%==3 Dism /Unmount-WIM /MountDir:%Drive%:\7Ult /Commit
TimeOut /T 5
Echo.
Echo.
Echo.
Echo Moving modified files
Move %Drive%:\7SP1 %Drive%:\7SP2-64
TimeOut /T 2
Echo.
Echo Removing attributes from %Drive%:\7SP2-64
attrib -R -A -S -H %Drive%:\7SP2-64 /S /D
If %Edition%==0 del %Drive%:\7SP2-64\sources\ei.cfg
TimeOut /T 2
Echo.
Echo.
Echo.
Echo Creating Windows 7 ISO
%Drive%:\7RVM\oscdimg.exe -l64-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -b%Drive%:\7RVM\etfsboot.com %Drive%:\7SP2-64 %Drive%:\64-Bit_Win7_2016-04-26.iso
RmDir /S /Q %Drive%:\7Bas
RmDir /S /Q %Drive%:\7Hom
RmDir /S /Q %Drive%:\7Pro
RmDir /S /Q %Drive%:\7Ult
Echo.
Echo.
Echo Process completed, you may now
Pause
Code: Select all
@@Echo off
Title Creating updated ISO Image of Windows 7 32-bit
Set Drive=C
Set Edition=0
CLS
Echo.
Set /P Drive=What drive are \7SP1 and \7RVM on? (Default C):
Copy %Drive%:\7SP1\boot\etfsboot.com %Drive%:\7RVM\
If exist "%SystemRoot%\SysWOW64\Notepad.exe" Copy "%ProgramFiles%\Windows AIK\Tools\amd64\oscdimg.exe" %Drive%:\7RVM\
If not exist "%SystemRoot%\SysWOW64\Notepad.exe" Copy "%ProgramFiles%\Windows AIK\Tools\x86\oscdimg.exe" %Drive%:\7RVM\
MkDir %Drive%:\7Sta
MkDir %Drive%:\7Bas
MkDir %Drive%:\7Hom
MkDir %Drive%:\7Pro
MkDir %Drive%:\7Ult
Echo.
Echo.
Echo Check that etfsboot.com and oscdimg.exe have been copied to %Drive%:\7RVM,
Echo close all other windows and disable your anti-virus program, then
Pause
Echo.
Echo.
Echo.
Echo Getting image info
Dism /Get-WIMInfo /WimFile:%Drive%:\7SP1\sources\install.wim
Echo.
Echo.
Echo.
Echo Which Edition? HomePremium(1), Professional(2), Ultimate(3) or All(0)
Set /P Edition=(Default All):
Echo.
Echo.
Echo.
Echo Mounting images
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Starter" /MountDir:%Drive%:\7Sta
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 HomeBasic" /MountDir:%Drive%:\7Bas
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 HomePremium" /MountDir:%Drive%:\7Hom
If %Edition%==1 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 HomePremium" /MountDir:%Drive%:\7Hom
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Professional" /MountDir:%Drive%:\7Pro
If %Edition%==2 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Professional" /MountDir:%Drive%:\7Pro
If %Edition%==0 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:%Drive%:\7Ult
If %Edition%==3 Dism /Mount-WIM /WimFile:%Drive%:\7SP1\sources\install.wim /Name:"Windows 7 Ultimate" /MountDir:%Drive%:\7Ult
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Servicing Stack update
If %Edition%==0 Dism /Image:%Drive%:\7Sta /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3020369-x86.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Platform update
If %Edition%==0 Dism /Image:%Drive%:\7Sta /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB2670838-x86.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Convenience Rollup update
If %Edition%==0 Dism /Image:%Drive%:\7Sta /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Applying Windows Update fix
If %Edition%==0 Dism /Image:%Drive%:\7Sta /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Bas /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==1 Dism /Image:%Drive%:\7Hom /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==2 Dism /Image:%Drive%:\7Pro /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==0 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
If %Edition%==3 Dism /Image:%Drive%:\7Ult /Add-Package /PackagePath:%Drive%:\7RVM\Windows6.1-KB3161608-x86.msu
TimeOut /T 5
Echo.
Echo.
Echo.
Echo.
Echo Unmounting images
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Sta /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Bas /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Hom /Commit
If %Edition%==1 Dism /Unmount-WIM /MountDir:%Drive%:\7Hom /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Pro /Commit
If %Edition%==2 Dism /Unmount-WIM /MountDir:%Drive%:\7Pro /Commit
If %Edition%==0 Dism /Unmount-WIM /MountDir:%Drive%:\7Ult /Commit
If %Edition%==3 Dism /Unmount-WIM /MountDir:%Drive%:\7Ult /Commit
TimeOut /T 5
Echo.
Echo.
Echo.
Echo Moving modified files
Move %Drive%:\7SP1 %Drive%:\7SP2-32
TimeOut /T 2
Echo.
Echo Removing attributes from %Drive%:\7SP2-32
attrib -R -A -S -H %Drive%:\7SP2-32 /S /D
If %Edition%==0 del %Drive%:\7SP2-32\sources\ei.cfg
TimeOut /T 2
Echo.
Echo.
Echo.
Echo Creating Windows 7 ISO
%Drive%:\7RVM\oscdimg.exe -l32-Bit_Win7_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -b%Drive%:\7RVM\etfsboot.com %Drive%:\7SP2-32 %Drive%:\32-Bit_Win7_2016-04-26.iso
RmDir /S /Q %Drive%:\7Sta
RmDir /S /Q %Drive%:\7Bas
RmDir /S /Q %Drive%:\7Hom
RmDir /S /Q %Drive%:\7Pro
RmDir /S /Q %Drive%:\7Ult
Echo.
Echo.
Echo Process completed, you may now
Pause
Last edited by Kurt_Aust on Mon Jun 27, 2016 2:28 am, edited 7 times in total.
- =[FEAR]=JIGSAW
- Posts: 400
- Joined: Mon Feb 18, 2008 11:54 am
- Location: Cape Town, South Africa
LOL Three of them increase size of iso a lot=[FEAR]=JIGSAW wrote:Why you say that? I don't recall ever having problems with any of those 3 ??Dibya wrote:Exist like RT7lite, NTlite, WintoolkitGH0st wrote:Is there not a tool like nLite, to allow slipstreaming of this into the media, then make an iso?
but they are not that much eficient
It turns out that the guide as written only works for Win 7 Ultimate and hence cannot be used to create an All-in-One updated install DVD.
The rewritten batch files above (post 5) fix this issue and allow more flexibility as well as improved ease of use.
Also this MSFN topic which allows for the download of just the needed tools from WAIK might be worth linking to:
http://www.msfn.org/board/topic/156869- ... os/?page=1
Finally if you do upgrade both 32 and 64-bit ISOs you can use this script to merge them, it does have 2 limitations though:
1. The resultant image is too big to fit on a single layer DVD
2. It cannot be used as a 64-bit recovery disk
ISO Merger for 32-64 bit Win7.cmd
The rewritten batch files above (post 5) fix this issue and allow more flexibility as well as improved ease of use.
Also this MSFN topic which allows for the download of just the needed tools from WAIK might be worth linking to:
http://www.msfn.org/board/topic/156869- ... os/?page=1
Finally if you do upgrade both 32 and 64-bit ISOs you can use this script to merge them, it does have 2 limitations though:
1. The resultant image is too big to fit on a single layer DVD
2. It cannot be used as a 64-bit recovery disk
ISO Merger for 32-64 bit Win7.cmd
Code: Select all
@Echo off
Title Creating merged ISO Image of Windows 7, 32+64-bit
Set Drive=C
CLS
Echo.
Set /P Drive=What drive are \7SP2-32, \7SP2-64 and \7RVM on? (Default C):
Copy "%ProgramFiles%\Windows AIK\Tools\amd64\oscdimg.exe" %Drive%:\7RVM\
Copy "%ProgramFiles%\Windows AIK\Tools\amd64\imagex.exe" %Drive%:\7RVM\
Echo.
Echo.
Echo Check that imagex.exe and oscdimg.exe have been copied to %Drive%:\7RVM,
Echo close all other windows and disable your anti-virus program, then
Pause
Echo.
Echo.
Echo Copying \7SP2-32 to \7SP2-96
Xcopy %Drive%:\7SP2-32 %Drive%:\7SP2-96 /e /v /i /q /h
Echo.
Echo.
Echo.
Echo Merging Home Basic x64
%Drive%:\7RVM\imagex.exe /export %Drive%:\7SP2-64\sources\install.wim 1 %Drive%:\7SP2-96\sources\install.wim "Windows 7 HOMEBASIC x64"
Echo Merging Home Premium x64
%Drive%:\7RVM\imagex.exe /export %Drive%:\7SP2-64\sources\install.wim 2 %Drive%:\7SP2-96\sources\install.wim "Windows 7 HOMEPREMIUM x64"
Echo Merging Professional x64
%Drive%:\7RVM\imagex.exe /export %Drive%:\7SP2-64\sources\install.wim 3 %Drive%:\7SP2-96\sources\install.wim "Windows 7 PROFESSIONAL x64"
Echo Merging Ultimate x64
%Drive%:\7RVM\imagex.exe /export %Drive%:\7SP2-64\sources\install.wim 4 %Drive%:\7SP2-96\sources\install.wim "Windows 7 ULTIMATE x64"
Echo Removing attributes from %Drive%:\7SP2-96
attrib -R -A -S -H %Drive%:\7SP2-96 /S /D
Echo.
Echo.
Echo.
Echo Creating Windows 7 ISO
%Drive%:\7RVM\oscdimg.exe -lWin7_All_2016-04-26 -t04/26/2016,07:00:00 -h -m -u2 -b%Drive%:\7SP2-32\boot\etfsboot.com %Drive%:\7SP2-96 %Drive%:\Win7_All_2016-04-26.iso
Echo.
Echo.
Echo Process completed, you may now
Pause
-
- Posts: 52
- Joined: Sun Aug 14, 2011 5:35 pm
- Location: Chicago, Illinois USA
- Contact:
Here is a log file of my results using your .cmd file.
Code: Select all
What drive are \7SP1 and \7RVM on? (Default C):c
1 file(s) copied.
The system cannot find the path specified.
Check that etfsboot.com and oscdimg.exe have been copied to c:\7RVM,
close all other windows and disable your anti-virus program, then
Press any key to continue . . .
Getting image info
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Details for image : c:\7SP1\sources\install.wim
Index : 1
Name : Windows 7 STARTER
Description : Windows 7 STARTER
Size : 8,074,968,070 bytes
Index : 2
Name : Windows 7 HOMEBASIC
Description : Windows 7 HOMEBASIC
Size : 8,127,590,116 bytes
Index : 3
Name : Windows 7 HOMEPREMIUM
Description : Windows 7 HOMEPREMIUM
Size : 8,569,006,173 bytes
Index : 4
Name : Windows 7 PROFESSIONAL
Description : Windows 7 PROFESSIONAL
Size : 8,450,188,760 bytes
Index : 5
Name : Windows 7 ULTIMATE
Description : Windows 7 ULTIMATE
Size : 8,610,128,720 bytes
The operation completed successfully.
Which Edition? HomePremium(1), Professional(2), Ultimate(3) or All(0)
(Default All):
Mounting images
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
Waiting for 0 seconds, press a key to continue ...
Applying Servicing Stack update
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB3020369-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB3020369-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB3020369-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB3020369-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB3020369-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Waiting for 0 seconds, press a key to continue ...
Applying Platform update
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB2670838-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB2670838-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB2670838-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB2670838-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - Adding package c:\7RVM\Windows6.1-KB2670838-x86.msu
[==========================100.0%==========================]
The operation completed successfully.
Waiting for 0 seconds, press a key to continue ...
Applying Convenience Rollup update
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - c:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db
0b02fbb0a74b2cbd.msu: An error occurred while expanding the .msu package into th
e temporary folder, C:\Users\Admin\AppData\Local\Temp\1DCEB0BC-8B5E-456F-BEB0-67
5DC6A61055.
Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - c:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db
0b02fbb0a74b2cbd.msu: An error occurred while expanding the .msu package into th
e temporary folder, C:\Users\Admin\AppData\Local\Temp\2996D590-D4A4-46AD-9016-23
C83F340561.
Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - c:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db
0b02fbb0a74b2cbd.msu: An error occurred while expanding the .msu package into th
e temporary folder, C:\Users\Admin\AppData\Local\Temp\20020ECF-2BAE-4D91-8C9D-E2
2013318200.
Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - c:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db
0b02fbb0a74b2cbd.msu: An error occurred while expanding the .msu package into th
e temporary folder, C:\Users\Admin\AppData\Local\Temp\B4F34F74-DD8D-455F-98C2-59
9C7B6EBD14.
Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.17514
Processing 1 of 1 - c:\7RVM\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db
0b02fbb0a74b2cbd.msu: An error occurred while expanding the .msu package into th
e temporary folder, C:\Users\Admin\AppData\Local\Temp\98CAB966-DEF1-4FBD-B999-F6
956C85FFBF.
Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Waiting for 0 seconds, press a key to continue ...
Unmounting images
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image File : c:\7SP1\sources\install.wim
Image Index : 1
Saving image
[================== 32.0% ]
I'll assume that you haven't installed WAIK and have gotten oscdimg.exe another way.
As it works fine for me just check that:
1. The digital signature of windows6.1-kb3125574-v4-x86_***.msu is valid
2. There is at least 20GB free space on drive C
3. Any security software is disabled
4. All windows other than that of the batch file are closed (I had an explorer window open and pointing at one of the work directories the first time I tried and got a similar failure)
Also is your source an original Microsoft disk or an OEM remaster? (I used a Digital River download for my tests).
As it works fine for me just check that:
1. The digital signature of windows6.1-kb3125574-v4-x86_***.msu is valid
2. There is at least 20GB free space on drive C
3. Any security software is disabled
4. All windows other than that of the batch file are closed (I had an explorer window open and pointing at one of the work directories the first time I tried and got a similar failure)
Also is your source an original Microsoft disk or an OEM remaster? (I used a Digital River download for my tests).
-
- Posts: 52
- Joined: Sun Aug 14, 2011 5:35 pm
- Location: Chicago, Illinois USA
- Contact:
Everything is working perfectly. Just created a new DVD with Convenience Rollup and added KB3161608 to fix the Windows Update bug. Thanks very much for a time saver script. You might want to add KB3161608 to your script, so Windows update works right away. Thanks again.Kurt_Aust wrote:I'll assume that you haven't installed WAIK and have gotten oscdimg.exe another way.
As it works fine for me just check that:
1. The digital signature of windows6.1-kb3125574-v4-x86_***.msu is valid
2. There is at least 20GB free space on drive C
3. Any security software is disabled
4. All windows other than that of the batch file are closed (I had an explorer window open and pointing at one of the work directories the first time I tried and got a similar failure)
Also is your source an original Microsoft disk or an OEM remaster? (I used a Digital River download for my tests).
-
- Posts: 52
- Joined: Sun Aug 14, 2011 5:35 pm
- Location: Chicago, Illinois USA
- Contact:
- =[FEAR]=JIGSAW
- Posts: 400
- Joined: Mon Feb 18, 2008 11:54 am
- Location: Cape Town, South Africa
- =[FEAR]=JIGSAW
- Posts: 400
- Joined: Mon Feb 18, 2008 11:54 am
- Location: Cape Town, South Africa
- =[FEAR]=JIGSAW
- Posts: 400
- Joined: Mon Feb 18, 2008 11:54 am
- Location: Cape Town, South Africa
- =[FEAR]=JIGSAW
- Posts: 400
- Joined: Mon Feb 18, 2008 11:54 am
- Location: Cape Town, South Africa
Is there no way to fool the system that WAIK is installed by just using the files downloaded via "GetWaikTools" ?Kurt_Aust wrote:Looking at it, you could make it easier for the end user (and hence less likely for them to make mistakes) by putting more into the batch files.
This reworking only requires that WAIK be installed, the source image be extracted to \7SP1 and all downloads saved to \7RVM (being the batch file & the 3 4 updates), no other directories needed (and the directories can be on any drive, although it should have at least 20GB free space).
<snip>
-
- Posts: 52
- Joined: Sun Aug 14, 2011 5:35 pm
- Location: Chicago, Illinois USA
- Contact:
Partly correct, each image has to updated separately and then merged back into the WIM file, deleting ei.cfg still would allow installing all versions but only Win7 Ult would be updated to April 2016.=[FEAR]=JIGSAW wrote:So deleting ei.cfg means nothing in this case as not all the versions are updated ?
In theory you only need oscdimg.exe (& imagex.exe for multi-arch) via GetWaikTools, but I haven't tested this.=[FEAR]=JIGSAW wrote:Is there no way to fool the system that WAIK is installed by just using the files downloaded via "GetWaikTools" ?
It appears that Microsoft has yanked the Windows Update fix (KB3161608) due in part to it breaking Intel BlueTooth and then in its wisdom replaced it with KB3172605 which still breaks BlueTooth, details here:
http://www.infoworld.com/article/309910 ... 72614.html
The really annoying part is that I'd just about finished writing and testing a refined version of this topic, so do I wait for a fix or just publish as is with a broken Windows Update?
http://www.infoworld.com/article/309910 ... 72614.html
The really annoying part is that I'd just about finished writing and testing a refined version of this topic, so do I wait for a fix or just publish as is with a broken Windows Update?
-
- Posts: 52
- Joined: Sun Aug 14, 2011 5:35 pm
- Location: Chicago, Illinois USA
- Contact:
You should wait and see what type of fix MS will provide.Kurt_Aust wrote:It appears that Microsoft has yanked the Windows Update fix (KB3161608) due in part to it breaking Intel BlueTooth and then in its wisdom replaced it with KB3172605 which still breaks BlueTooth, details here:
http://www.infoworld.com/article/309910 ... 72614.html
The really annoying part is that I'd just about finished writing and testing a refined version of this topic, so do I wait for a fix or just publish as is with a broken Windows Update?