Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Update your Win 7 installation media.

4 Weeks Ago   #191
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

split-wim.cmd

Code:
@Echo off
title SPLITWIMCMDv1
mode con: lines=61
color 1F
chcp 437 >nul
SET TP=%~dp0
SET TP=%TP:~0,-1%
cd /d "%TP%"
:check dependencies
FOR %%I IN (pecmd.exe wimlib-imagex.exe getWIM.ini getswmdest.ini) DO IF NOT EXIST BIN\%%I (
  MODE CON LINES=12
  ECHO. & ECHO Missing %%I  from Bin directory needed component.
  echo.
  echo Press any key to exit
PAUSE >nul & EXIT
)

:selWIM
ECHO.
echo PLEASE SELECT THE WIM FILE TO SPLIT
ECHO. & ECHO.
start /wait BIN\pecmd load %tp%\BIN\getWIM.ini
call BIN\SETWIMpath.cmd
del BIN\SETWIMpath.cmd >nul
IF '%WIMpath%'=='' goto :selWIM
if not exist %WIMpath% (
echo    No WIM FILE selected
PAUSE
goto selWIM
)
echo.
echo WIM PATH IS  %WIMpath%
ECHO. & ECHO.
PAUSE

:selswmdest
start /wait BIN\pecmd load %tp%\BIN\GetSWMDEST.ini
call BIN\setSWMDESTpath.cmd
del BIN\setSWMDESTpath.cmd. >nul
IF '%SWMDESTpath%'=='' goto :selswmdest
if not exist %SWMDESTpath% (
echo    No destination SELECTED
PAUSE
goto :selswmdest
)
ECHO. & ECHO.
echo DESTINATION PATH IS  %SWMDESTpath%
ECHO. & ECHO.
PAUSE
ECHO.
BIN\wimlib-imagex split %WIMpath% %SWMDESTpath%\install.swm 4000
PAUSE

:EOF

getswmdest.ini ( put in BIN folder)
Code:
ENVI TdirPATH=d:
BROW TdirPATH, *, please select destination for extracted SPLIT WIMS
EXEC =!CMD.EXE /C ECHO set SWMDESTpath="%TdirPATH%">"%CurDir%\setSWMDESTpath.cmd"
ENVI TdirPATH=
Now included in 7UPDATERv21B on first post


My System SpecsSystem Spec
.
3 Weeks Ago   #192
Megahertz07

Windows 7 HP 64
 
 

SIW2, everything worked.
The fist time I ran 7UPDATERv21B.cmd I think I did a mistake. It created the UpdatePack7R2-19.3.15.exe under 7UPDATERv21B folder and I executed it and it updated my Windows and I rebooted.
I ran 7UPDATERv21B.cmd again and it updated the Install.wim as it should.

It created a winre.wim. What it is for?
Also, what are the Import and Updates folder for?


Edit: very powerful the wimlib-imagex.exe image tool.
My System SpecsSystem Spec
3 Weeks Ago   #193
Megahertz07

Windows 7 HP 64
 
 

Yesterday I did another test.
SIW2, my suggestions are:

- Running EXTRACT-ISO.cmd it ask where is the iso file (ok) but it also ask where to putt the extracted iso. I created a new Extracted folder under 7UPDATERv21B folder and it created a Extracted-iso folder under it.
My suggestion is that 7UPDATERv21B comes with a blank Extracted-iso, an Install_Wim and a Temp folder under it.
Running EXTRACT-ISO.cmd should put the extracted iso on Extracted-iso folder without asking where.

- Running 7UPDATERv21B.cmd, DELETE-IMAGE.cmd, OPTIMIZE-WIM.cmd, SPLIT-WIM.cmd or CREATE-ISO.cmd shouldn't ask where are the installations files are, it should automatically look for them on the Extracted-iso folder.

- Running 7UPDATERv21B.cmd, Simplix does update my computer that I didn't want to as it installs the recommended updates.
Live operating system update should be an optional.

- The mounting images folder is Windows/temp folder. In my case 7UPDATERv21B is on D: and Windows is on C: and Temp folder I have set it to be on D: to avoid installing trash on my C: SSD.
My suggestion is to mount images on the 7UPDATERv21B\Temp folder.

- Finally, running SPLIT-WIM.cmd should move the modified 7UPDATERv21B\Extracted-iso\sources\install.wim to 7UPDATERv21B\Install_Wim folder, split it into install.swm and install2.swm files and move them to 7UPDATERv21B\Extracted-iso\sources
My System SpecsSystem Spec
.

3 Weeks Ago   #194
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Quote:
but it also ask where to putt the extracted iso
Of course it does. You might not have space in the parent directory partition.

Quote:
running SPLIT-WIM.cmd should
Again, you might not have space, or you might be splitting a wim on your hard drive, and want to deposit the split wims on a usb stick, or somewhere else.


Quote:
it should automatically look for them on the Extracted-iso folder
Because they are separate cmd files, they do not know the location of your extract folder. There is also the advantage that they can be used independently from the main 7updater cmd file - to extract an iso for any purpose, or to split a wim you made previously, or with another application.

Quote:
My suggestion is to mount images on the 7UPDATERv21B\Temp folder
Simplix requires 10gb space min. I suppose I could add an option for the user to select a temp location - but that just adds extra things for the user to do, and beginners have no idea what "temp folder" means. Trying to keep user interaction to a minimum - important for beginners.
My System SpecsSystem Spec
3 Weeks Ago   #195
Megahertz07

Windows 7 HP 64
 
 

Is just a suggestion, in my point of view, to make it easier.
It doesn't make sense (for me) to have all the working folders on different places.
Also it doesn't make sense to create a iso file as it won't fit on a DVD. Better make a Zip, Rar or 7z to be expanded on a flash disk.
My System SpecsSystem Spec
3 Weeks Ago   #196
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Quote:
Also it doesn't make sense to create a iso file as it won't fit on a DVD.
It won't fit if you used simplix to do all the updates.

That is not necessarily what people will do. They might just add the nvme updates and a few drivers, e.g. usb3.

Or they might remove components from the image before updating.

Creating iso is an option. It is not compulsory.


Quote:
It doesn't make sense (for me) to have all the working folders on different places
.

In that case, put them in the same place. You have that option - that is why you can choose. Some people might not want to do that - or they might not have space on the same drive.
My System SpecsSystem Spec
3 Weeks Ago   #197
Megahertz07

Windows 7 HP 64
 
 

I don't want to get on a discussion.

You did a GREAT job. And it work as it is.

My suggestions were (in my point of view) to make it simple to normal people to use.
My System SpecsSystem Spec
3 Weeks Ago   #198
Megahertz07

Windows 7 HP 64
 
 

SIW2, can Win 7 installation boot from a double layer DVD?
My System SpecsSystem Spec
3 Weeks Ago   #199
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Quote   Quote: Originally Posted by Megahertz07 View Post
SIW2, can Win 7 installation boot from a double layer DVD?
I don't know, I have never tried.
My System SpecsSystem Spec
2 Weeks Ago   #200
Megahertz07

Windows 7 HP 64
 
 

Quote   Quote: Originally Posted by SIW2 View Post
I don't know, I have never tried.
I've burned the Win 7 HP August 2018 (7601.24214.180801-1700.win7sp1_ldr_escrow_CLIENT_PROFESSIONAL_x64FRE_en-us.iso) that I've downloaded from HeiDoc on a DVD+R DL.
For my surprise I could only boot it as UEFI. Tried to force a Legacy boot that failed.
I'm not aware of DVD boot sequence. Does a DVD has a MBR to boot as Legacy?
Don't know if the iso didn't have the MBR(?) or if a DL DVD has a different kind of SL DVD MBR(?).
If you can give me a link that explains CD/ DVD boot sequence I'll appreciate.
My System SpecsSystem Spec
Reply

 Update your Win 7 installation media.




Thread Tools




Similar help and support threads
Thread Forum
TEST -Update 7 installation media
Anyone who wants to give this a try: 1. Put your win7 dvd in the drive, rt click it and select COPY. Then rt click your partition (e.g. C ) and PASTE. It will take a few mins and you should have afolder on c containing the installation files, like this: 2. Install WUD - tiny program:
Installation & Setup
Windows Media Player will not update media library
I am a music downloader. It used to be that WMP12 would update the mp3 music folders to where the folder contents would read as follows: 01 'Track Name' 02 'Track Name' 03 'Track Name' and so on... This is no longer the case. WMP will not update my media library files, although it...
General Discussion
How to get installation media?
Hi, I've got an HP Pavilion laptop that came with Windows 7 installed as a Vista upgrade. I'd like to blow it away, repartition the disk for dual boot with Linux, and do a clean install of Windows 7. The only problem (I think) is that I don't have the installation media. I've searched online...
Installation & Setup
Bad installation media I think
Remember me? I'm the one with the pirated W7 Ultimate. I finally bought a genuine W7 Ultimate disk from Newegg for the tune of $310. Still working with MasterCard to get my money back. It looks favorable. When I went to do a clean install the auto-boot worked but it hung up with a blue screen...
Installation & Setup
media smart server update corrupted media center
I have 4 computers all running windows 7-3 in 32 and 1 in 64. All were working fine and no issues with my mediasmart 470 server. I only have one computer with console running. The other day pp3 came out and has made a mess of my computer that has connector to server. It seems to have corrupted...
Media Center


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:38.
Twitter Facebook