jcberry526 Posted March 5, 2009 Posted March 5, 2009 i would love to know how how 2 edit the Boot.wim and install.wim files i have heard that it needs to be mounted or something but i am wanting a (detail) tut on how 2 open (mount) these filesi will also need to know how to unmount it (if it a thing that i needs to do after i have edit the files i want)THANKS
MagicAndre1981 Posted March 5, 2009 Posted March 5, 2009 for doing this you have to install the WAIK. Mounting can be done with ImageX
Arrow22 Posted March 5, 2009 Posted March 5, 2009 To Prepare: Install the WAIKYou will need the basic routines that the kit containsThis is what My Environment looks like 1
Arrow22 Posted March 5, 2009 Posted March 5, 2009 (edited) Step 1: Mount The ImageCreate this batch file_1. Mount Image.batecho offclsset __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"set __Mount=C:\MountEcho OffClsEcho .Echo .Echo . Mounting Boot.wim to %__Mount%Echo .pause 1pause 0Echo .Echo . Creating The Foldermkdir "%__Mount%"Echo .Echo . Mounting boot.wim (First Image)Echo .%__IMAGEX% /mountrw ".\boot.wim" 1 "%__Mount%"Echo .Echo ......................................................Echo .pauseThe 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 2You 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 March 5, 2009 by Arrow22 1
Arrow22 Posted March 5, 2009 Posted March 5, 2009 Step 2 - Fold in DriversThere are a number of things that you can do to the image while its mounted.I use it mainly to preinstall my drivers.I need the MediaShield RAID drivers for boot.wim to see my drives.This is how I slipstream them in.Create this batch file_2. Fold In Drivers.batecho offclsset __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"set __Mount=C:\MountEcho OffClsEcho .Echo .Echo . Adding Boot Drivers From OS DriversEcho .pause 2pause 1pause 0Echo .Echo ......................................................Echo .%__PEIMG% /inf=".\01AHCI\nvstor32.inf" "%__Mount%\Windows"Echo .Echo ......................................................Echo .%__PEIMG% /inf=".\02RAID\nvrd32.inf" "%__Mount%\Windows"Echo .Echo ......................................................Echo .pauseAs I posted in another thread, boot.wim is 32-bit (I have yet to see a 64-bit)Do not attempt to slipstream in 64-bit drivers, 32-bit OS will not understand them. 1
Arrow22 Posted March 5, 2009 Posted March 5, 2009 Step 3 - Unmount the ImageFor me, I like to verify my work...Here is what the inf folder looked before the slipstreamAnd like this after the batch file is runand here is the image now...Note the OEM0.inf and OEM1.infSo we are good, now create this batch file_3. UnMount Image.batecho offclsset __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"set __Mount=C:\MountEcho OffClsEcho .Echo .Echo . Unmounting Boot.wim from %__Mount%Echo .pause 2pause 1pause 0%__IMAGEX% /commit /unmount "%__Mount%"Echo .Echo .Echo ......................................................Echo .Echo .Removing Temporary Mount FolderEcho .RmDir /S /Q "%__Mount%"pausethis is what it looks likeHow was that.If modifying boot.wim, do both images 1
jcberry526 Posted March 5, 2009 Author Posted March 5, 2009 thank you very, very muchthis place is the BEST
Tomorrow Posted March 30, 2009 Posted March 30, 2009 ...or you can follow this guide...http://www.msfn.org/board/index.php?showtopic=111168
krzychu70 Posted March 31, 2009 Posted March 31, 2009 Is it possible to use just 7zip as it allows to open wim files?
_Se7eN_ Posted April 13, 2009 Posted April 13, 2009 Arrow22Nice tutorial. however i must confess that i've tried both ways [updating one image and both] and the result was the same... Nvidia drivers don't install during setup... everything else installed fine...i' triyng to use winpeshl.ini as some sort of trigger to install the exe version of Nvidia drivers... still no results...Is there any other file/way to do that?? Excluding SetupComplete of the $OEM$ folder... Se7eN
Arrow22 Posted April 13, 2009 Posted April 13, 2009 (edited) Arrow22Nice tutorial. however i must confess that i've tried both ways [updating one image and both] and the result was the same... Nvidia drivers don't install during setup... everything else installed fine...i' triyng to use winpeshl.ini as some sort of trigger to install the exe version of Nvidia drivers... still no results...Is there any other file/way to do that?? Excluding SetupComplete of the $OEM$ folder... Se7eNFor adding SATA/RAID drivers to Vista, I have not had a problem.Are you adding the 64bit or the 32bit version?Boot.wim is 32bit and will not recognize the 64bit versions.(Took me 2 weeks to figure that out - Forest for the Trees thing) Edited April 13, 2009 by Arrow22
_Se7eN_ Posted April 14, 2009 Posted April 14, 2009 Arrow22Nice tutorial. however i must confess that i've tried both ways [updating one image and both] and the result was the same... Nvidia drivers don't install during setup... everything else installed fine...i' triyng to use winpeshl.ini as some sort of trigger to install the exe version of Nvidia drivers... still no results...Is there any other file/way to do that?? Excluding SetupComplete of the $OEM$ folder... Se7eNFor adding SATA/RAID drivers to Vista, I have not had a problem.Are you adding the 64bit or the 32bit version?Boot.wim is 32bit and will not recognize the 64bit versions.(Took me 2 weeks to figure that out - Forest for the Trees thing)I have a 32bits system so i guess that i don't have that prob...maybe i need to get a better driver extractor prog... i've been using MyDrivers and it's been working fine even with Nvidia drivers....this prob started after i've updated the drivers o Nvidia by windows update.... perhaps its the driver it self cause in the installed system it is signed by Microsoft, however the same in the test OS appears as unsigned... this is really bugging me....I wouldn't even mind if i could execute the install version of the driver during install, but that also is turning to be a prob... i'm unable to execute tthe CMD file through the Autounatted.xml file...i've put the driver folder on the root on the install.wim, so that it could be copied to the HardDrive... but using "auditUser" the CMD file seems that can't find the folder...Can you tell where can i learn the install timeline of Vista Ultimate? Because the CMD file must be executed AFTER the driver folder been copied to the HD...Thanks for the replySe7eN
Arrow22 Posted April 14, 2009 Posted April 14, 2009 I do not know anything about the timeline as I slipstream and integrate everything natively.I would suspect it is your drivers.When you follow the directions above, do you see the OEMx.inf files?If not, then the drivers are not installed.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now