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.

1 Day 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
.
22 Hours 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
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 08:01.
Twitter Facebook