Create a Windows 7 DVD with slipstreamed drivers
Here is the process to create a bootable Windows 7 DVD with your mass storage driver pre-loaded, or slipstreamed, into the media. This is along the lines of the old XP F6 way of loading a driver, except here we put the driver right into the installation media. To get started you need to perform a few preperation steps:
- Install the WAIK for Windows 7
- Create C:\test\offline and C:\drivers directories
- Copy from Windows 7 DVD/ISO sources dir: the boot.wim and install.wim to C:\
- Copy/extract your mass storage drivers to C:\drivers (OCZ Revo 3 in this case)
Open the Deployment Tools Command Prompt as an Administrator, and run the following commands.
Install.wim portion:
- Dism /Mount-Wim /WimFile:C:\install.wim /Index:1 /MountDir:C:\test\offline
- Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\ocz10xx-1.2.0.10490\amd64 /Recurse /ForceUnsigned
- Dism /Unmount-Wim /MountDir:C:\test\offline /Commit
Boot.wim portion (only needed for F6 type drivers used during initial setup):
- Dism /Mount-Wim /WimFile:C:\boot.wim /Index:2 /MountDir:C:\test\offline (note: This must be /Index:2 and is the part that replaces the old F6 method like in XP)
- Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\ocz10xx-1.2.0.10490\amd64 /Recurse /ForceUnsigned
- Dism /Unmount-Wim /MountDir:C:\test\offline /Commit
The steps above in each portion mount the image, add the driver, and then save/unmount the image.
Finally, use UltraISO (not free) and open the original ISO and drag and drop your new .wim files to the sources dir within UltraISO. When prompted, choose Yes to replace the files. After that you can burn the ISO. There is a command line utility called oscdimg that can be used to create ISO files for free, but that is beyond the scope of this article. Google is your friend in that case.
You can add other drivers but only the storage, OCZ in this example, really needs to be in the boot.wim file so you can install Windows to your SSD.