1

Topic: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

There seems to be some problem that happens while running DPS_FNSH.CMD.

Script works fine until ":KTD_M2" part.  However, since neither CD nor HDD contain "\OEM\bin" folder variable CDDRIVE is left as empty. This in causes "IF %CDDRIVE%==: GOTO KTD_M1" line to fail because it's parsed as "IF ==: GOTO KTD_M1" which is obviously incorrect. It causes "GOTO was unexpected at this time" error and stops processing DPS_FNSH.CMD.

It seems that at least some of files that should be under CD:\OEM\bin are actually placed to CD:\$OEM$\$1 and end up being copied to C:\ during install. Or should I manually copy "bin" folder from DriverPack tool folder to CD:\$OEM$\$1\bin before creating CD image? It doesn't exist under D:\Projects\WXPSP2USVLK on my computer after running DPs_BASE.EXE. Base itself goes just fine without errors. DPs_BASE.LOG shows following lines:

2006-05-30 10:38:59 : <SLIP> Copied Intel chipset drivers' .inf files to \$OEM$\$$\INF.
2006-05-30 10:41:27 : <SLIP> Extracted bin\finish.7z to \$OEM$\$1.
2006-05-30 10:41:29 : <SLIP> Copied files necessary for KTD to \$OEM$\$1.
2006-05-30 10:41:29 : <SLIP> Updated \$OEM$\cmdlines.txt to execute DPs_ROE.cmd.
2006-05-30 10:41:29 : <SLIP> Created \$OEM\DPs_ROE.cmd batch file.

No other references to OEM or $OEM$.

Settings used:

[Settings]
type		= "disc"
location	= "D:\Projects\WXPSP2USVLK"      (This is fresh download from MVLS)
DriverPacks	= "all"
DPsMethod	= "1"
finishMethod	= "RunOnceEx"
[RunOnceExSettings]
startID		= "default"
[OptionalSettings]
KTD		= "all"
QSC		= "yes"

Last edited by Bâshrat the Sneaky (2006-05-31 06:40:35)

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

Could you please post the file DPs_fnsh.log? And use CODE tags please!

Founder of DriverPacks.net — wimleers.com

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

I was wondering about that line. I don't know much about batch, but is that line supposed to signify NUL?

The following sentence is false.
The preceding sentence is true.

4

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

Ok. Here's full logfile. Is there's supposed to be CD:\OEM\bin folder on CD? If so obviously it's not problem with DPS_FNSH.CMD, but instead something going wrong integrating drivers.

2006-05-30 10:03:16 : <INIT> DriverPacks BASE 6.05.1 initialized.
2006-05-30 10:03:16 : <INIT> Could not detect settings file.
2006-05-30 10:03:16 : <INIT> [General]\wizdButtons not specified: default (yes) was set.
2006-05-30 10:03:16 : <INIT> [General]\GUI not specified: default (yes) was set.
2006-05-30 10:03:16 : <INIT> Detected DriverPack Chipset 6.05!
2006-05-30 10:03:16 : <INIT> Detected DriverPack CPU 6.03!
2006-05-30 10:03:16 : <INIT> Detected DriverPack Graphics A 6.03!
2006-05-30 10:03:16 : <INIT> Detected DriverPack Graphics B 6.03!
2006-05-30 10:03:16 : <INIT> Detected DriverPack Graphics C 6.03!
2006-05-30 10:03:16 : <INIT> Detected DriverPack LAN 6.05!
2006-05-30 10:03:16 : <INIT> Detected DriverPack MassStorage 6.03.1!
2006-05-30 10:03:16 : <INIT> Detected DriverPack Sound A 6.03!
2006-05-30 10:03:16 : <INIT> Detected DriverPack Sound B 6.03!
2006-05-30 10:03:16 : <INIT> Detected DriverPack WLAN 6.05!
2006-05-30 10:03:16 : <INIT> Could not detect any 3rd party DriverPacks.
2006-05-30 10:03:16 : <INIT> DriverPacks scanned sucessfully.
2006-05-30 10:03:16 : <INIT> QuickStream Cache directory not found!
2006-05-30 10:03:16 : <GUI>  Initialized GUI.
2006-05-30 10:03:35 : <GUI>  Changed Windows installation files location to D:\Projects\WXPSP2USVLK.
2006-05-30 10:03:35 : <GUI>  Detected Windows XP Professional SP2 in D:\Projects\WXPSP2USVLK.
2006-05-30 10:04:01 : <GUI>  Saved settings!
2006-05-30 10:04:01 : <GUI>  Closed GUI.
2006-05-30 10:04:01 : <SEL>  Selected module: mod_wxp_x86-32_disc_m1.
2006-05-30 10:04:02 : <PREP> Removed all attributes from \I386.
2006-05-30 10:04:03 : <PREP> Generated \I386\winnt.sif file.
2006-05-30 10:04:03 : <PREP> Created a backup of \I386\txtsetup.sif.
2006-05-30 10:04:03 : <PREP> Created a backup of \I386\dosnet.inf.
2006-05-30 10:04:03 : <PREP> Created temporary working directory.
2006-05-30 10:04:03 : <SLIP> Created QSC directory.
2006-05-30 10:04:04 : <SLIP> Extracted DriverPack Chipset.
2006-05-30 10:04:05 : <SLIP> Extracted DriverPack CPU.
2006-05-30 10:04:35 : <SLIP> Extracted DriverPack Graphics A.
2006-05-30 10:05:24 : <SLIP> Extracted DriverPack Graphics B.
2006-05-30 10:05:55 : <SLIP> Extracted DriverPack Graphics C.
2006-05-30 10:06:02 : <SLIP> Extracted DriverPack LAN.
2006-05-30 10:06:12 : <SLIP> Extracted DriverPack MassStorage.
2006-05-30 10:07:02 : <SLIP> Extracted DriverPack Sound A.
2006-05-30 10:08:35 : <SLIP> Extracted DriverPack Sound B.
2006-05-30 10:09:02 : <SLIP> Extracted DriverPack WLAN.
2006-05-30 10:09:02 : <SLIP> Started CAB compressing DriverPack Chipset (estimated 24 seconds).
2006-05-30 10:09:22 : <SLIP> Finished CAB compressing DriverPack Chipset.
2006-05-30 10:09:23 : <SLIP> Started CAB compressing DriverPack CPU (estimated 1 seconds).
2006-05-30 10:09:23 : <SLIP> Finished CAB compressing DriverPack CPU.
2006-05-30 10:09:23 : <SLIP> Started CAB compressing DriverPack Graphics A (estimated 7:12 (min:sec)).
2006-05-30 10:13:03 : <SLIP> Finished CAB compressing DriverPack Graphics A.
2006-05-30 10:13:04 : <SLIP> Started CAB compressing DriverPack Graphics B (estimated 11:-6 (min:sec)).
2006-05-30 10:17:33 : <SLIP> Finished CAB compressing DriverPack Graphics B.
2006-05-30 10:17:34 : <SLIP> Started CAB compressing DriverPack Graphics C (estimated 5:25 (min:sec)).
2006-05-30 10:20:34 : <SLIP> Finished CAB compressing DriverPack Graphics C.
2006-05-30 10:20:34 : <SLIP> Started CAB compressing DriverPack LAN (estimated 2:1 (min:sec)).
2006-05-30 10:21:31 : <SLIP> Finished CAB compressing DriverPack LAN.
2006-05-30 10:21:32 : <SLIP> Started CAB compressing DriverPack MassStorage (estimated 1:17 (min:sec)).
2006-05-30 10:22:10 : <SLIP> Finished CAB compressing DriverPack MassStorage.
2006-05-30 10:22:11 : <SLIP> Started CAB compressing DriverPack Sound A (estimated 12:-10 (min:sec)).
2006-05-30 10:28:07 : <SLIP> Finished CAB compressing DriverPack Sound A.
2006-05-30 10:28:07 : <SLIP> Started CAB compressing DriverPack Sound B (estimated 7:-11 (min:sec)).
2006-05-30 10:31:48 : <SLIP> Finished CAB compressing DriverPack Sound B.
2006-05-30 10:31:49 : <SLIP> Started CAB compressing DriverPack WLAN (estimated 7:18 (min:sec)).
2006-05-30 10:35:46 : <SLIP> Finished CAB compressing DriverPack WLAN.
2006-05-30 10:35:51 : <SLIP> Slipstreamed DriverPack Chipset using the QuickStream Cache.
2006-05-30 10:35:51 : <SLIP> Slipstreamed DriverPack CPU using the QuickStream Cache.
2006-05-30 10:36:10 : <SLIP> Slipstreamed DriverPack Graphics A using the QuickStream Cache.
2006-05-30 10:36:42 : <SLIP> Slipstreamed DriverPack Graphics B using the QuickStream Cache.
2006-05-30 10:36:57 : <SLIP> Slipstreamed DriverPack Graphics C using the QuickStream Cache.
2006-05-30 10:37:09 : <SLIP> Slipstreamed DriverPack LAN using the QuickStream Cache.
2006-05-30 10:37:18 : <SLIP> Slipstreamed DriverPack MassStorage using the QuickStream Cache.
2006-05-30 10:37:49 : <SLIP> Slipstreamed DriverPack Sound A using the QuickStream Cache.
2006-05-30 10:38:23 : <SLIP> Slipstreamed DriverPack Sound B using the QuickStream Cache.
2006-05-30 10:38:58 : <SLIP> Slipstreamed DriverPack WLAN using the QuickStream Cache.
2006-05-30 10:38:59 : <SLIP> Copied Intel chipset drivers' .inf files to \$OEM$\$$\INF.
2006-05-30 10:39:00 : <SLIP> Extracted and deleted \I386\svcpack.in_.
2006-05-30 10:39:04 : <SLIP> Updated \I386\svcpack.inf file to support KB888111 and KB913425.
2006-05-30 10:39:07 : <SLIP> Updated \I386\txtsetup.sif file to support KB888111.
2006-05-30 10:39:08 : <SLIP> Updated \I386\dosnet.inf file to support KB888111.
2006-05-30 10:39:09 : <SLIP> Updated \I386\dosnet.inf file to support KB913425.
2006-05-30 10:39:10 : <SLIP> Extracted DriverPack MassStorage to a temporary working directory.
2006-05-30 10:39:24 : <SLIP> Created QuickStream Cache for DriverPack MassStorage text mode drivers.
2006-05-30 10:39:24 : <SLIP> Slipstreamed DP MassStorage text mode drivers using QuickStream Cache.
2006-05-30 10:39:28 : <SLIP> Removed entries from \I386\txtsetup.sif that will be updated.
2006-05-30 10:39:28 : <SLIP> Removed entries from \I386\dosnet.inf that will be updated.
2006-05-30 10:41:26 : <SLIP> Updated \I386\dosnet.inf and \I386\txtsetup.sif to support DP MassStorage text mode drivers.
2006-05-30 10:41:27 : <SLIP> Extracted bin\finish.7z to \$OEM$\$1.
2006-05-30 10:41:28 : <SLIP> Added OemPnpDriversPath entry to \I386\winnt.sif.
2006-05-30 10:41:28 : <SLIP> Updated \I386\winnt.sif to support method 1.
2006-05-30 10:41:29 : <SLIP> Copied files necessary for KTD to \$OEM$\$1.
2006-05-30 10:41:29 : <SLIP> Updated \$OEM$\cmdlines.txt to execute DPs_ROE.cmd.
2006-05-30 10:41:29 : <SLIP> Created \$OEM\DPs_ROE.cmd batch file.
2006-05-30 10:41:29 : <SLIP> Slipstream finished in 37 minutes and 28 seconds.
2006-05-30 10:41:31 : <CLNP> Temporary working directory successfully deleted.
2006-05-30 10:41:31 : Program terminated.

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

That's DPs_BASE.log. I asked for DPs_fnsh.log, which should be in %SystemDrive%\ after your installation! If you can get me that file quickly, I'll probably be able to fix it in 6.05.2 (released tonight).

Founder of DriverPacks.net — wimleers.com

6

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

Bâshrat the Sneaky wrote:

That's DPs_BASE.log. I asked for DPs_fnsh.log, which should be in %SystemDrive%\ after your installation! If you can get me that file quickly, I'll probably be able to fix it in 6.05.2 (released tonight).

Doh. Silly me - Sorry! Here it is. Error message comes from "IF ==: GOTO KTD_M1" line as I wrote on first post.

C:\>CMDOW @ /HID 

C:\>REM +==========================================================================+ 

C:\>REM |                                                                          | 

C:\>REM | Only edit this file if you know what you're doing!                       | 

C:\>REM |                                                                          | 

C:\>REM +==========================================================================+ 

C:\>REM +==========================================================================+ 

C:\>REM |   Editable variables.                                                    | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET DriverPacks=C:\D 

C:\>SET D=C:\WINDOWS\system32\drivers 

C:\>SET S=C:\WINDOWS\system32 

C:\>SET DPS_TMP=C:\WINDOWS\DPs_temp 

C:\>REM +==========================================================================+ 

C:\>REM |   DriverPack Graphics A control panels.                                  | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET C=C:\D\G 

C:\>IF NOT EXIST C:\D\G\A\1 GOTO DP_GA_2 

C:\>IF EXIST C:\WINDOWS\system32\atioglx1.dll (
C:\D\G\A\1\ATICCC.exe -y -oC:\WINDOWS\DPs_temp  
 MSIEXEC /i C:\WINDOWS\DPs_temp\ISScript9.Msi /qn /norestart  
 MSIEXEC /i C:\WINDOWS\DPs_temp\ATICCC.msi /qn /norestart  
 RD /S /Q C:\WINDOWS\DPs_temp 
) 

C:\>REM +==========================================================================+ 

C:\>REM |   DriverPack Graphics B control panels.                                  | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET C=C:\D\G 

C:\>IF NOT EXIST C:\D\G\3\1 GOTO DP_GB_2 

C:\>IF EXIST C:\WINDOWS\system32\3dfxV2ps.dll (C:\D\G\3\1\V2_OC_control_panel.exe) 

C:\>IF NOT EXIST C:\D\G\S\1 GOTO DP_GB_3 

C:\>IF EXIST C:\WINDOWS\system32\drivers\sisgrp.sys (
C:\D\G\S\1\UVGA3.exe -y -oC:\WINDOWS\DPs_temp  
 START /WAIT C:\WINDOWS\DPs_temp\setup.exe -s  
 RD /S /Q C:\WINDOWS\DPs_temp 
) 

C:\>REM +==========================================================================+ 

C:\>REM |   DriverPack Graphics C control panels.                                  | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET C=C:\D\G 

C:\>IF NOT EXIST C:\D\G\A\3 GOTO DP_GC_2 

C:\>IF EXIST C:\WINDOWS\system32\atioglgl.dll (
C:\D\G\A\3\CPanel.exe -y -oC:\WINDOWS\DPs_temp  
 START /WAIT C:\WINDOWS\DPs_temp\Setup.exe /K  
 RD /S /Q C:\WINDOWS\DPs_temp 
) 

C:\>REM +==========================================================================+ 

C:\>REM |   DriverPack Sound A control panels.                                     | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET C=C:\D\S 

C:\>IF NOT EXIST C:\D\S\CR GOTO DP_SA_2 

C:\>IF EXIST C:\WINDOWS\system32\drivers\ha10kx2k.sys (
IF EXIST C:\WINDOWS\system32\drivers\ha20x2k.sys IF EXIST C:\D\S\CR\1\Ctzapxx.ini (
EXPAND -R C:\D\S\CR\1\*.* C:\D\S\CR  
 EXPAND -R C:\D\S\CR\1\common\*.* C:\D\S\CR\1\common  
 EXPAND -R C:\D\S\CR\1\common\i386\*.* C:\D\S\CR\1\common\i386  
 EXPAND -R C:\D\S\CR\1\lang\*.* C:\D\S\CR\1\lang  
 EXPAND -R C:\D\S\CR\1\lang\i386\*.* C:\D\S\CR\1\lang\i386  
 EXPAND -R C:\D\S\CR\1\win2k_xp\*.* C:\D\S\CR\1\win2k_xp  
 EXPAND -R C:\D\S\CR\1\win2k_xp\data\*.* C:\D\S\CR\1\win2k_xp\data  
 EXPAND -R C:\D\S\CR\1\win2k_xp\i386\*.* C:\D\S\CR\1\win2k_xp\i386  
 DEL /Q C:\D\S\CR\1*.??_  
 DEL /Q C:\D\S\CR\1\common\*.??_  
 DEL /Q C:\D\S\CR\1\common\i386\*.??_  
 DEL /Q C:\D\S\CR\1\lang\*.??_  
 DEL /Q C:\D\S\CR\1\lang\i386\*.??_  
 DEL /Q C:\D\S\CR\1\win2k_xp\*.??_  
 DEL /Q C:\D\S\CR\1\win2k_xp\data\*.??_  
 DEL /Q C:\D\S\CR\1\win2k_xp\i386\*.??_  
 COPY /Y C:\D\S\CR\1\common\i386\CtCtlPan.cpl C:\WINDOWS\system32\  1>NUL  
 COPY /Y C:\D\S\CR\1\common\i386\CtPanel.exe C:\WINDOWS\system32\  1>NUL  
 START C:\D\S\CR\1\CTZAPXX.exe /S  
 GOTO DP_SA_2 
)  
 IF EXIST C:\D\S\CR\2\Ctzapxx.ini (
EXPAND -R C:\D\S\CR\2\*.* C:\D\S\CR  
 EXPAND -R C:\D\S\CR\2\common\*.* C:\D\S\CR\2\common  
 EXPAND -R C:\D\S\CR\2\common\i386\*.* C:\D\S\CR\2\common\i386  
 EXPAND -R C:\D\S\CR\2\lang\*.* C:\D\S\CR\2\lang  
 EXPAND -R C:\D\S\CR\2\lang\i386\*.* C:\D\S\CR\2\lang\i386  
 EXPAND -R C:\D\S\CR\2\win2k_xp\*.* C:\D\S\CR\2\win2k_xp  
 EXPAND -R C:\D\S\CR\2\win2k_xp\data\*.* C:\D\S\CR\2\win2k_xp\data  
 EXPAND -R C:\D\S\CR\2\win2k_xp\i386\*.* C:\D\S\CR\2\win2k_xp\i386  
 DEL /Q C:\D\S\CR\2*.??_  
 DEL /Q C:\D\S\CR\2\common\*.??_  
 DEL /Q C:\D\S\CR\2\common\i386\*.??_  
 DEL /Q C:\D\S\CR\2\lang\*.??_  
 DEL /Q C:\D\S\CR\2\lang\i386\*.??_  
 DEL /Q C:\D\S\CR\2\win2k_xp\*.??_  
 DEL /Q C:\D\S\CR\2\win2k_xp\data\*.??_  
 DEL /Q C:\D\S\CR\2\win2k_xp\i386\*.??_  
 COPY /Y C:\D\S\CR\2\common\i386\CtCtlPan.cpl C:\WINDOWS\system32\  1>NUL  
 COPY /Y C:\D\S\CR\2\common\i386\CtPanel.exe C:\WINDOWS\system32\  1>NUL  
 START C:\D\S\CR\2\CTZAPXX.exe /S 
) 
) 

C:\>IF NOT EXIST C:\D\S\CR\3 GOTO DP_SA_3 

C:\>IF EXIST C:\WINDOWS\system32\drivers\P17.sys (
IF EXIST C:\D\S\CR\3\Ctzapxx.in_ (
EXPAND -R C:\D\S\CR\3\*.* C:\D\S\CR\3  
 EXPAND -R C:\D\S\CR\3\AddOn\*.* C:\D\S\CR\3\AddOn  
 EXPAND -R C:\D\S\CR\3\Common\*.* C:\D\S\CR\3\Common  
 EXPAND -R C:\D\S\CR\3\Lang\i386\*.* C:\D\S\CR\3\Lang\i386  
 EXPAND -R C:\D\S\CR\3\Win2K_XP\*.* C:\D\S\CR\3\Win2K_XP  
 EXPAND -R C:\D\S\CR\3\Win2K_XP\i386\*.* C:\D\S\CR\3\Win2K_XP\i386  
 DEL /Q C:\D\S\CR\3\*.??_  
 DEL /Q C:\D\S\CR\3\AddOn\*.??_  
 DEL /Q C:\D\S\CR\3\Common\*.??_  
 DEL /Q C:\D\S\CR\3\Lang\i386\*.??_  
 DEL /Q C:\D\S\CR\3\Win2K_XP\*.??_  
 DEL /Q C:\D\S\CR\3\Win2K_XP\i386\*.??_ 
)  
 START C:\D\S\CR\3\CTZapxx.Exe /S 
) 

C:\>IF NOT EXIST C:\D\S\N\AudioUtl.exe GOTO DP_SA_4 

C:\>IF NOT EXIST C:\D\S\T\2\Setup.ex_ GOTO DP_SA_5 

C:\>IF EXIST C:\WINDOWS\system32\drivers\FM801.SYS (
IF EXIST C:\D\S\T\2\Setup.ex_ (
EXPAND -R C:\D\S\T\2\*.* C:\D\S\T\2  
 DEL /Q C:\D\S\T\2\*.??_ 
)  
 START C:\D\S\T\2\Setup.exe /S 
) 

C:\>IF NOT EXIST C:\D\S\V\1\V_ENVY.exe GOTO DP_SA_6 

C:\>IF NOT EXIST C:\D\S\V\2\CPL.exe GOTO DP_SA_7 

C:\>REM +==========================================================================+ 

C:\>REM |   DriverPack Sound B control panels.                                     | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET C=C:\D\S 

C:\>IF NOT EXIST C:\D\S\T\3\T_3.exe GOTO DP_SB_2 

C:\>IF NOT EXIST C:\D\S\T\4\T_SSU.exe GOTO DP_SB_3 

C:\>IF NOT EXIST C:\D\S\T\5\T_DMX.exe GOTO DP_SB_4 

C:\>IF NOT EXIST C:\D\S\S\U GOTO DP_SB_5 

C:\>IF EXIST C:\WINDOWS\system32\drivers\sthda.sys (
COPY /Y C:\D\S\S\U\stlang.dll C:\WINDOWS\system32  1>NUL  
 COPY /Y C:\D\S\S\U\stacgui.dll C:\WINDOWS\system32  1>NUL  
 COPY /Y C:\D\S\S\U\stacgui.cpl C:\WINDOWS\system32  1>NUL  
 MD "C:\Program Files\Sigmatel\C-Major Audio\STACGUI"  
 COPY /Y C:\D\S\S\U\sttray.exe "C:\Program Files\Sigmatel\C-Major Audio\STACGUI"  1>NUL  
 COPY /Y C:\D\S\S\U\stlang.dll "C:\Program Files\Sigmatel\C-Major Audio\WDM"  1>NUL 
) 

C:\>IF NOT EXIST C:\D\S\SI\1\SI_7012.exe GOTO DP_SB_6 

C:\>IF NOT EXIST C:\D\S\SI\2\SI_7018.exe GOTO DP_SB_7 

C:\>GOTO EXCEPTIONS 

C:\>SET T=C:\tmp.txt 

C:\>REM +==========================================================================+ 

C:\>REM |   Workaround for AMD Athlon 64 X2 CPU's lagging issues.                  | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>devcon find ACPI\AUTHENTICAMD_-_X86_FAMILY_15_MODEL_*  1>>C:\tmp.txt 

C:\>agrep -s -ci "AMD Athlon(tm) 64 X2 Dual Core" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (addUsepmtimer.exe) 

C:\>DEL /F /Q C:\tmp.txt 

C:\>REM +==========================================================================+ 

C:\>REM |   Workaround for nVidia nForce 3 ethernet.                               | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>devcon find "PCI\VEN_10DE&DEV_00DF"  1>>C:\tmp.txt 

C:\>agrep -s -ci "SUBSYS_E0001458&REV_A2" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (
devcon update "C:\D\L\NV\123\nvnetbus.inf" "PCI\VEN_10DE&DEV_00DF&SUBSYS_E0001458&REV_A2"  1>>NULL  
 devcon update "C:\D\L\NV\123\nvnetfd.inf" "{1a3e09be-1e45-494b-9174-d7385b45bbf5}\NVNET_DEV*"  1>>NULL 
) 

C:\>DEL /F /Q C:\tmp.txt 

C:\>REM +==========================================================================+ 

C:\>REM |   Workaround for Hercules Fortissimo, Game Theater and Digifire APU's.   | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>devcon find "PCI\VEN_1013&DEV_6003*"  1>>C:\tmp.txt 

C:\>agrep -s -ci "SUBSYS_005014AF" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_005014AF" ) 

C:\>agrep -s -ci "SUBSYS_00501681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_00501681" ) 

C:\>agrep -s -ci "SUBSYS_00521681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_00521681" ) 

C:\>agrep -s -ci "SUBSYS_00531681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_00531681" ) 

C:\>agrep -s -ci "SUBSYS_00541681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_00541681" ) 

C:\>agrep -s -ci "SUBSYS_A0111681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_A0111681" ) 

C:\>agrep -s -ci "SUBSYS_A0121681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_A0121681" ) 

C:\>agrep -s -ci "SUBSYS_00511681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_00511681" ) 

C:\>agrep -s -ci "SUBSYS_A0101681" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "PCI\VEN_1013&DEV_6003&SUBSYS_A0101681" ) 

C:\>DEL /F /Q C:\tmp.txt 

C:\>devcon find "HERCULES\*"  1>>C:\tmp.txt 

C:\>agrep -s -ci "GTXP_WDM_INTERFACE" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "HERCULES\GTXP_WDM_INTERFACE" ) 

C:\>agrep -s -ci "GF3_WDM_INTERFACE" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "HERCULES\GF3_WDM_INTERFACE" ) 

C:\>agrep -s -ci "GF2_WDM_INTERFACE" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "HERCULES\GF2_WDM_INTERFACE" ) 

C:\>agrep -s -ci "DFIRE_WDM_INTERFACE" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "HERCULES\DFIRE_WDM_INTERFACE" ) 

C:\>agrep -s -ci "GTXP71_WDM_INTERFACE" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "HERCULES\GTXP71_WDM_INTERFACE" ) 

C:\>agrep -s -ci "PNPB02F" C:\tmp.txt 
0
Grand Total: 0 match(es) found.

C:\>IF 0 GEQ 1 (devcon install "C:\D\S\H\2\wdmaherc.inf" "HERCULES\*PNPB02F" ) 

C:\>DEL /F /Q C:\tmp.txt 

C:\>REM +==========================================================================+ 

C:\>REM |   KTD (Keep The Drivers) commands.                                       | 

C:\>REM |--------------------------------------------------------------------------| 

C:\>SET tagfile=\OEM\bin 

C:\>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 z) DO IF EXIST "%i:\OEM\bin" SET CDDRIVE=%i: 

C:\>IF EXIST "c:\OEM\bin" SET CDDRIVE=c: 

C:\>IF EXIST "d:\OEM\bin" SET CDDRIVE=d: 

C:\>IF EXIST "e:\OEM\bin" SET CDDRIVE=e: 

C:\>IF EXIST "f:\OEM\bin" SET CDDRIVE=f: 

C:\>IF EXIST "g:\OEM\bin" SET CDDRIVE=g: 

C:\>IF EXIST "h:\OEM\bin" SET CDDRIVE=h: 

C:\>IF EXIST "i:\OEM\bin" SET CDDRIVE=i: 

C:\>IF EXIST "j:\OEM\bin" SET CDDRIVE=j: 

C:\>IF EXIST "k:\OEM\bin" SET CDDRIVE=k: 

C:\>IF EXIST "l:\OEM\bin" SET CDDRIVE=l: 

C:\>IF EXIST "m:\OEM\bin" SET CDDRIVE=m: 

C:\>IF EXIST "n:\OEM\bin" SET CDDRIVE=n: 

C:\>IF EXIST "o:\OEM\bin" SET CDDRIVE=o: 

C:\>IF EXIST "p:\OEM\bin" SET CDDRIVE=p: 

C:\>IF EXIST "q:\OEM\bin" SET CDDRIVE=q: 

C:\>IF EXIST "r:\OEM\bin" SET CDDRIVE=r: 

C:\>IF EXIST "s:\OEM\bin" SET CDDRIVE=s: 

C:\>IF EXIST "t:\OEM\bin" SET CDDRIVE=t: 

C:\>IF EXIST "u:\OEM\bin" SET CDDRIVE=u: 

C:\>IF EXIST "v:\OEM\bin" SET CDDRIVE=v: 

C:\>IF EXIST "w:\OEM\bin" SET CDDRIVE=w: 

C:\>IF EXIST "x:\OEM\bin" SET CDDRIVE=x: 

C:\>IF EXIST "y:\OEM\bin" SET CDDRIVE=y: 

C:\>IF EXIST "z:\OEM\bin" SET CDDRIVE=z: 

C:\>IF ==: GOTO KTD_M1

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

Damn... I thought it'd be set to ':' if no valid drive is found, but you're right. It should be without the ':'. Will be fixed in 6.05.2!

Founder of DriverPacks.net — wimleers.com

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

IF %CDDRIVE%=NUL: GOTO KTD_M1  ? Does that make sense?

The following sentence is false.
The preceding sentence is true.

9

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

razormoon wrote:

IF %CDDRIVE%=NUL: GOTO KTD_M1  ? Does that make sense?

When I'm not sure if some variable is set I just put "IF %FOO%.==. GOTO NOFOO"

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

Rather like this:

IF '%CDDRIVE%'=='' GOTO KTD_M1

wink

Founder of DriverPacks.net — wimleers.com

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

So did you fix in 6052? Because it still looks the same!  lol

:KTD_M2
SET tagfile=\OEM\bin
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 z) DO IF EXIST "%%i:%tagfile%" SET CDDRIVE=%%i:
IF %CDDRIVE%==: GOTO KTD_M1
IF EXIST %CDDRIVE%\OEM\bin\makePNF.exe (

Last edited by razormoon (2006-05-31 08:14:14)

The following sentence is false.
The preceding sentence is true.

Re: SOLVED BUG #52: DPs_fnsh.cmd: error in section for KTD_M2

I've got this...

IF '%CDDRIVE%'=='' GOTO KTD_M1

The update didn't overwrite the old file... though I'm using these switches:

-y -aoa

on the SFX archive that contains the latest DriverPacks BASE...

I'll let it delete the bin and docs directories in the next version sad


EDIT:

Added to the bugtracker (bug #53) and started a new topic. Added it to the annoucement section as well.


This topic is closed.

Last edited by Bâshrat the Sneaky (2006-05-31 08:29:24)

Founder of DriverPacks.net — wimleers.com