[main] Title=DELL DTK 2.3 Description=DELL DTK 2.3 utilities for WinPE 1.6 based on W2K3 SP1. For MRAID support select "DPs Mass Storage Drivers" (available under "Drivers\4 Storage" below). This script was written for my PE2850 and R200 servers. ONLY DTK 2.3, neither earlier or later version will work here! Extract the DELL DTK 2.3 .zip so that the \Dell directory structure gets created / filled! YMMV. Selected=True Level=5 Version=1 Author=TT Date=2008-06-17 [variables] %ProgramTitle%=DELL Toolkit %ProgramFolder%=Dell %HiveKey_System%=TT_SYSTEM %HiveKey_DELL%=hiv [process] Run,%ScriptFile%,Process-TT-Registry If,NotExistFile,"%pFileBox1%\drivers\hapi\dellreg\hapienum.reg",Halt,"DELL DTK 2.3 not found, skipping DTK integration!" If,ExistFile,"%pFileBox1%\drivers\hapi\dellreg\hapienum.reg",Run,%ScriptFile%,Process-DELL-Registry If,ExistFile,"%pFileBox1%\drivers\hapi\dellreg\hapienum.reg",Run,%ScriptFile%,Process-DELL-Files [Process-TT-Registry] Echo,"Adjusting Diskpart to make W2K3 / XP boot OK after PE Diskpart..." RegHiveLoad,"%HiveKey_System%","%TargetDir%\i386\system32\config\system" RegWrite,"HKLM",0x4,"%HiveKey_System%\ControlSet001\Services\vds\Alignment","LessThan4GB","0x00000000" RegWrite,"HKLM",0x4,"%HiveKey_System%\ControlSet001\Services\vds\Alignment","Between4_8GB","0x00000000" RegWrite,"HKLM",0x4,"%HiveKey_System%\ControlSet001\Services\vds\Alignment","Between8_32GB","0x00000000" RegWrite,"HKLM",0x4,"%HiveKey_System%\ControlSet001\Services\vds\Alignment","GreaterThan32GB","0x00000000" RegHiveUnLoad,"%HiveKey_System%" [Process-DELL-Registry] Echo,"Adding DELL specific registry entries..." RegHiveLoad,"%HiveKey_DELL%","%target_sys%\setupreg.hiv" ShellExecute,Hide,"reg.exe","import %pFileBox1%\drivers\hapi\dellreg\hapienum.reg" ShellExecute,Hide,"reg.exe","import %pFileBox1%\drivers\hapi\dellreg\hapiservice.reg" RegHiveUnLoad,"%HiveKey_DELL%" [Process-DELL-Files] Echo,"Copying DELL Broadcom LAN drivers..." FileCopy,"%pFileBox1%\drivers\nic\broadcom\*.sys","%target_sys%\drivers" FileCopy,"%pFileBox1%\drivers\nic\broadcom\*.dll","%target_sys%" FileCopy,"%pFileBox1%\drivers\nic\broadcom\*.exe","%target_sys%" FileCopy,"%pFileBox1%\drivers\nic\broadcom\*.din","%target_sys%" FileCopy,"%pFileBox1%\drivers\nic\broadcom\*.inf","%target_win%\inf" Echo,"Copying DELL Intel LAN drivers..." FileCopy,"%pFileBox1%\drivers\nic\intel\*.sys","%target_sys%\drivers" FileCopy,"%pFileBox1%\drivers\nic\intel\*.dll","%target_sys%" FileCopy,"%pFileBox1%\drivers\nic\intel\*.exe","%target_sys%" FileCopy,"%pFileBox1%\drivers\nic\intel\*.din","%target_sys%" FileCopy,"%pFileBox1%\drivers\nic\intel\*.inf","%target_win%\inf" Echo,"Copying DELL HAPI drivers..." FileCopy,"%pFileBox1%\drivers\hapi\*.sys","%target_sys%\drivers" FileCopy,"%pFileBox1%\drivers\hapi\*.dll","%target_sys%" Echo,"Copying DELL DRAC4 drivers..." FileCopy,"%pFileBox1%\drivers\rac4\*.inf","%target_win%\inf" FileCopy,"%pFileBox1%\drivers\rac4\racsvc.exe","%target_sys%" FileCopy,"%pFileBox1%\drivers\rac4\*.sys","%target_sys%\drivers" Echo,"Copying DELL RAIDCFG drivers..." FileCopy,"%pFileBox1%\drivers\raidcfg\*.dll","%target_sys%" Echo,"Making directory for DELL Toolkit..." DirMake,"%TargetDir%\Dell\Toolkit" Echo,"Copying DELL Toolkit..." DirCopy,"%pFileBox1%\Toolkit\Systems","%TargetDir%\Dell\Toolkit" DirCopy,"%pFileBox1%\Toolkit\Template","%TargetDir%\Dell\Toolkit" DirCopy,"%pFileBox1%\Toolkit\Tools","%TargetDir%\Dell\Toolkit" Echo,"Expanding DELL required files from source..." require_file,"rpcns4.dll","%target_sys%" require_file,"rpcrt4.dll","%target_sys%" require_file,"rpcss.dll","%target_sys%" [Interface] pWebLabel1="Link to DELL download site",1,10,169,10,126,18,"http://support.dell.com/support/downloads/download.aspx?c=us&cs=sebsdt1&l=sv&s=bsd&releaseid=R160009&formatcnt=2&libid=0&fileid=214465" pTextLabel1="1. Download DELL DTK 2.3:",1,1,10,9,153,18,8,Normal pTextLabel2="2. Expand the .ZIP file to a directory (i.e. c:\dell)",1,1,10,37,263,18,8,Normal pTextLabel3="3. Select the directory:",1,1,10,66,149,18,8,Normal pFileBox1=C:\Dell\DTK\Dell,1,13,169,59,200,28,dir