This page contains instructions for integrating the pre-made driver packs available at
DriverPacks.net into an Unattended installation.
DONATION
Have you ever wonder, how many hours you are saving using this pack?. Every release cost them money so to keep their project updated, they need donations for the hosting
http://www.driverpacks.net/DriverPacks/donate.php
This is a work in progress! Please remove this notice when instructions are complete! Feel free to make edits if you have a better solution, I have my own scratch paper at work to document my progress.
/Test Nr.1 Just copy the driverpacks as described below - This method works
/Addendum Additional Notes from a Windows Admin setting this up for the first time
It is possible to not use the oempnpdriverspath and still include drivers as part of the windows installation, which means it is possible to include ALL of Bashrat's Driverpacks in an unattended installation. It involves a Drivers.7z file (which will be ~300MB for all the regular packs, which are ~1.6GB uncompressed), and pausing the windows gui-mode setup long enough to extract the drivers to C:\windows\inf, where Windows will automatically recognize them. This was explained in this post :
http://www.msfn.org/board/lofiversion/index.php/t51406.html , and I will try to document how to adapt it for use with unattended. First, download this file :
http://www.msfn.org/staff/Alanoll/DriverFiles.zip . Extract the contents and place in your $OEM$ directory. Unfortunately, unattended uses winnt to launch windows setup, which means files are copied from $OEM$ in the 8.3 filename format, which means we must edit a few things. Rename the (now extracted) SetupCopyOEMInf.exe to setupinf.exe and rename WatchDriverSigningPolicy.exe to watchdrv.exe , then edit the Drivers.cmd file to match - if you're using a linux system for your unattended server, these commands will do this:
mv SetupCopyOEMInf.exe setupinf.exe mv WatchDriverSigningPolicy.exe watchdrv.exe sed -i s/WatchDriverSigningPolicy/watchdrv/g drivers.cmd sed -i s/SetupCopyOEMInf/setupinf/g drivers.cmd
Then, create a Drivers.7z file that contains all the drivers that you want to add to windows setup. If you want, you can download all of Bashrat's official driver packs, extract them all and re-compress them into one Drivers.7z file. (The .7z means it's 7zipped, not a normal zip file - get the free 7zip program here : www.7-zip.org . And yes, it has to be called Drivers.7z ) Then, add these lines to your unattend.txt file :
[Unattended]
OemPreinstall=Yes
[GuiUnattended]
DetachedProgram = cmd.exe
Arguments = "/Q /C FOR /F %? IN ('FINDSTR/B dospath= %SYSTEMROOT%\SYSTEM32\$WINNT$.INF') DO (SET %?\&& CALL START /MIN %dospath:\\=\%$OEM$\Detached.cmd)"
(The Arguments = "..." is all one line.) Please note this does not work for any MassStorage Device - in textmode. Since this runs in the gui part of windows setup, windows needs access to the sata drivers before this runs, which means you must have textmode drivers for your sata drives. To add Mass Storage textmode drivers (including SATA drivers) you can use Bashrat's DriverPack Base MassStorage Textmode method, or use nLite , or any other method ( such as manually editing txtsetup.inf ) This has been tested on 366Mhz machines through to 3Ghz machines and all worked, so the ticker pause/resume of windows setup seems to work fine on both slow and fast machines.
Introduction
Bâshrat the Sneaky from
DriverPacks.net has set out on an effort to collect all Drivers for hardware released after WinXP and bundle them in a way to make it easy create unattended windows install disks that are essentially hardware independant. He releases driver packs, as well as *.cmd scripts (require windows) to download updated driver packs and ease the Slipstreaming into a WinXP CD.
This guide (will) documents how to make the driver packs work with your Unattended.sf.net network installation.
Goals
Document and share a method for placing the premade driver packs so that Unattended can work with them
Document and share how to automatically update the driver packs and automatically place them on the server where they need to go
Do the above on either a Windows or a *nix server (this entail writting new scripts I suppose)
Instructions
Bâshrat's driver packs are 7zip compressed and take up about 50% less space than the same thing CAB compressed. However, windows tends to handle cabs internally. Unattended, though, wants uncompressed for its install.pl, which means about 1GB of drivers will have to be copied from the server to the machine. The 7zip method is about 210MB.
The main problem seems to be the OemPnPDriversPath gets too long for the 16bit installer Unattended launches (is not too long for the 32bit installer that would load if booting from a WinXP installation disk)
Instructions are offered in
this post to the mailing list.
Uncompressed about 1GB copied to machine, updates should be easy to script
Download the driverpacks you need
Extract them to z:\install\os\name\$OEM$\$1 just as you would any other drivers
That should be it, I'll be testing shortly.
CAB Format about 450MB copied to machine, but not sure how to make windows aware of it
Download the Driver Pack's BASE to a Windows machine
Install DriverPack BASE
Download any driverpacks you need and save in the "DriverPacks" subfolder created in step 2
Run the BTS_DPs_Slipstreamer_Vxxx.cmd file. Choose Option 1?
??
Done
7zip about 210MB copied to machine, but extracting on machine takes time
Download the Driver Pack's BASE to a Windows machine
Install DriverPack BASE
Download any driverpacks you need and save in the "DriverPacks" subfolder created in step 2
Run the BTS_DPs_Slipstreamer_Vxxx.cmd file. Choose Option ?2 or 3?
??
Done
Alternatively, for the 7zip one could try something
like this forum post, this is probably where I'll be heading so that I don't need the DriverPack BASE and therefor don't need a windows box. As I understand it, it was this post that made option 2 viable in the first place.
References
btsdriverspack.bat
For lazy people that only to run /prepare instead of looking out pages
you need to modify the prepare script to add: if wget --referer=
http://driverpacks.net/DriverPacks/download.php?pag=c --passive-ftp -O "$file.$$.tmp" "$url" ; then
:: OPTIONAL: Download Bâshrat the Sneaky drivers from [WWW] DriverPacks.net :: Check http://driverpacks.net/DriverPacks/overview.php for updates :: URL|All|http://www.thesneaky.com/DriverPacks/DP_Chipset_wnt5_x86-32_612.7z|packages/drivers/DP_Chipset_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_CPU_wnt5_x86-32_6091.7z|packages/drivers/DP_CPU_wnt5_x86-32_6091.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_Graphics_A_wnt5_x86-32_612.7z|packages/drivers/DP_Graphics_A_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_Graphics_B_wnt5_x86-32_612.7z|packages/drivers/DP_Graphics_B_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_Graphics_C_wnt5_x86-32_612.7z|packages/drivers/DP_Graphics_C_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_LAN_wnt5_x86-32_612.7z|packages/drivers/DP_LAN_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_MassStorage_wnt5_x86-32_608.7z|packages/drivers/DP_MassStorage_wnt5_x86-32_608.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_Sound_A_wnt5_x86-32_612.7z|packages/drivers/DP_Sound_A_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_Sound_B_wnt5_x86-32_612.7z|packages/drivers/DP_Sound_B_wnt5_x86-32_612.7z :: URL|All|http://www.thesneaky.com/DriverPacks/DP_WLAN_wnt5_x86-32_612.7z|packages/drivers/DP_WLAN_wnt5_x86-32_612.7z