Topic: Using DPInst.exe Tool
Using DPInst.exe Tool
It is a nice big project you've done thank you for your
effort
i tried DriverPacks with your DPs_BASE.exe for my unattended
Windows Pro Sp3 install
everything worked well for my pc except
the long time waiting for DPsFnshr.exe to complete its job
iam using method 2 with KTD all the packages include 3rd party ones & my own ones
because of that i costomizd the way DriverPacks works
i removed ROE.exe entry from CMDLINES.TXT that is responsible
for running DPsFnshr.exe during login
to save time indeed
i used the Localized DPInst.exe for my arabic Windows
i ran this batch code instead of DPsFnshr.exe
*******************
@echo off
color 4f
echo *** Written by Faraj Ali ***
echo.
echo.
RD /S /Q %systemdrive%\D
%systemdrive%
For %%a in (*.xls *.ini *.exe *.txt *.ins) do del %systemdrive%\"%%a"
if not Exist %systemDrive%\Ali md %systemDrive%\Ali
SET TAGFILE=\OEM
FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST "%%i:%TAGFILE%" SET CDDRIVE=%%i:& GOTO DPsFound
:DPsFound
md Ali\DriverPacks
copy /y %CDDRIVE%\OEM\DP*.7z %systemDrive%\Ali\DriverPacks
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion
reg delete %KEY% /V DevicePath /f
reg add %KEY% /V DevicePath /t REG_EXPAND_SZ /D %systemRoot%\inf /f
set KEY=
*********************
so that when any new hardware added after installation completetd
i open Ali's folder which is reside in the %systemDrive%
& click on this Batch file "DriverInstall.cmd"
**********************
@echo off
Mode Con: Lines=90 Cols=90
color 1f
echo off
for /f "tokens=1,* delims==" %%a in ('type Re') do echo %%b
set /P NUMB=Select suitable Package No^>
for /f "tokens=1,2,3 delims== " %%a in ('type Re') do if %NUMB%==%%c set SS=%%a
color 4f
un7zip.exe "%systemDrive%\Ali\DriverPacks\%SS%" "%~dp0"
DPInst.exe
RD /S /Q D
For %%a in (*.xls *.ini *.txt *.ins) do del %%a
exit
************************************
Re file is
DPC902.7z = Chipset= 1
DPCP804.7z = CPU= 2
DPM901.7z = MassStorage= 3
DP_HID_w.7z = HumanInterfaceDevice= 4
DPGA8121.7z = Graphics_A= 5
DPGB8121.7z = Graphics_B= 6
DPGC8121.7z = Graphics_C= 7
DP_Monit.7z = Monitors= 8
DPSA805.7z = Sound_A= 9
DPSB805.7z = Sound_B= 10
DP3P0001.7z = PrintersCanonLaserjet= 11
DP3P0002.7z = PrintersHP= 12
DP_Print.7z = PrintersCanonInkjet= 13
DPL8121.7z = LAN= 14
DPW806.7z = WireLessLan= 15
DP_Modem.7z = Modems= 16
DP_Broad.7z = Broadband= 17
DP_Bluet.7z = Bluetooth= 18
DP_Mine_.7z = N70+Tp-Link+CMDA= 19
DP_USB_w.7z = USBDivces= 20
DP_Phone.7z = Phones= 21
DP_Scann.7z = Scanners= 22
DP_TV_wn.7z = TVs= 23
DP_WebCa.7z = WebCams= 24
************************************
All required files & the folder will be copied during text-mode installation
from $OEM$\$1\Ali
DriverInstall.cmd
7-zip32.dll
Data
DPInst.exe
DPInst.xml
Re
un7zip.exe
Data folder
**********************
this is my costomizd DPInst.xml
<?xml version="1.0" ?>
<dpinst>
<search>
<subDirectory>*</subDirectory>
</search>
<language code="0x0401">
<dpinstTitle>xxxxx</dpinstTitle>
<welcomeTitle>xxxxx</welcomeTitle> xxxxx</welcomeIntro>
<eulaHeaderTitle>xxxxx</eulaHeaderTitle>
<eulaYesButton>&xxxxx</eulaYesButton>
<eulaNoButton>&xxxxx</eulaNoButton>
<installHeaderTitlxxxxx</finishTitle>
<finishText>xxxxx</finishText>
<eula type="txt" path="Data\Eula401.txt"/>
</language>
<icon>Data\SETUP11.ICO</icon>
<headerPath>Data\Header.bmp</headerPath>
<watermarkPath>Data\Water.bmp</watermarkPath>
<scanHardware/>
<promptIfDriverIsNotBetter/>
<enableNotListedLanguages/>
<suppressAddRemovePrograms/>
<legacyMode/>
</dpinst>
*******************
i want your opinion pls if something
i forget or missed
i tried install just one Tpl-link wireless
adaptor & installed well
thank you again
Last edited by FarajAli (2009-04-03 02:24:10)