There are 3 methods for Bashrat's driverpacks.

1 and 3 use the uber-long OemPnPDriversPath which breaks with the 16bit 
winnt.exe

However, there is method 2, which unpacks the drivers from the .7z files after 
the 16bit installer stage.

Here's how you do it with unattended.

o Create a method 2 patched version of winxp (this integrates the mass storage 
drivers so you don't have to fuss with textmode stuff yourself). Enable ktd 
(since this install will look in c:\d for the unpacked versions of the 
drivers if you change hardware)
o copy the windows installation directory to your unattended os directory

cd /path/to/unattended/install/tools/
./lower-caseify.pl /path/to/unattended/install/os/winxpsp2
cd /path/to/unattended/install/os/winxpsp2/i386
ln -s ../\$oem\$ \$oem\$
cd \$oem\$/\$1
ln -s ../../oem
cd d
ln -s setupcopyoeminf.exe scoeminf.exe
ln -s watchdriversigningpolicy.exe dspolicy.exe
sed -e 's/SetupCopyOEMInf.exe/scoeminf.exe/g' \
-e 's/WatchDriverSigningPolicy.exe/dspolicy.exe/g' \
-e 's/SetDevicePath.exe/setdpath.exe/g' \
< bts_dps_finish.cmd > bdfinish.cmd
unix2dos bdfinish.cmd
chmod 644 bdfinish.cmd
cd ../../../../i386
sed -e 's/WatchDriverSigningPolicy.exe/dspolicy.exe/g' \
-e 's/SetDevicePath.exe/setdpath.exe/g' \
-e 's/DriverPack_/DP_/g' \
-i presetup.cmd
cd ../oem
mv *_chipset*.7z DP_chp.7z
mv *_cpu*.7z DP_cpu.7z
mv *_graphics_a*.7z DP_g_a.7z
mv *_graphics_b*.7z DP_g_b.7z
mv *_graphics_c*.7z DP_g_c.7z
mv *_lan*.7z DP_lan.7z
mv *_massstorage*.7z DP_ms.7z
mv *_sound_a*.7z DP_s_a.7z
mv *_sound_b*.7z DP_s_b.7z
mv *_wlan*.7z DP_wlan.7z
cd bin
ln -s setdevicepath.ex setdpath.exe
ln -s watchdriversigningpolicy.exe dspolicy.exe

UNATTEND.TXT:
[Data]
        MsDosInitiated = "0"
[Unattended]
        OemPreinstall = "Yes"
[GuiRunOnce]
    ; Command which runs after OS installation finishes
    Command0 = "%SystemDrive%\D\bdfinish.cmd"
    Command1 = "C:\netinst\mapznrun.bat C:\netinst\postinst.bat"

the symlinks are because the dos installer can't read beyond 8.3 filenames 
ditto for renaming the .7z and .exe files
you can rename instead of using symlinks if you like.

There is a bug that causes a bsod loop the first time the machine boots after 
graphics setup mode (or maybe before - can't remember exactly. It happened on 
nforce and v20z platforms for me). If someone knows how to disable the winxp 
bsod instant auto-reboot functionality via unattend.txt so i can see the stop 
code I'd be interested). Anyway, just boot into safe mode and windows will 
detect and load some driver then ask to reboot. It should be fine from there 
on.

Admin.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to