Step 1: Mount The Image
Create this batch file
_1. Mount Image.bat
set __EXPAND="%Programfiles%\Windows AIK\Tools\amd64\Servicing\Expand.exe"
set __PEIMG="%ProgramFiles%\Windows AIK\Tools\PETools\peimg.exe"
set __IMAGEX="%ProgramFiles%\Windows AIK\Tools\amd64\Imagex.exe"
set __PKGMGR="%ProgramFiles%\Windows AIK\Tools\amd64\Servicing\pkgmgr.exe"
Echo . Mounting Boot.wim to %__Mount%
Echo . Creating The Folder
Echo . Mounting boot.wim (First Image)
%__IMAGEX% /mountrw ".\boot.wim" 1 "%__Mount%"
The 2 pauses are there in case you execute this script by accident.
The mount folder can be changed to anything you want but
besure to change it in the other batch files as well.
If you are using a 32-bit OS while preping the image,
change \amd64\ in the paths to \x86\
as in ="%ProgramFiles%\Windows AIK\Tools\x86\Imagex.exe"
Vista's boot.wim has 2 images, both images should be changed the same way.
I have not yet tried just updating image 2.
Image selection is controlled by the image number
%__IMAGEX% /mountrw ".\boot.wim" 1 "%__Mount%" <-- for image 1
%__IMAGEX% /mountrw ".\boot.wim" 2 "%__Mount%" <-- for image 2
You can also use names but it must be exact. Numbers are easier.
Ghost 12 has only 1 image.
this is what it looks like
Edited by Arrow22, 05 March 2009 - 12:54 PM.