@sonic:
you don't need WatchDriverSigningPolicy.exe for WHQL drivers.
@hp38quser:
i love sysinternals & nircmd

seems PsSuspend fix the driver extraction before T-34 limitation, got my perfect method.

you should keep WatchDriverSigningPolicy.exe(for non WHQL) until driver scan finished, T-13 will be a good place to PsKill it. @T-39 REG ADD HKLM\....\RunOnceEx to PsKill or CMDLINES.TXT. and turn back Pyron's postinstall. or do that @WINNT.SIF [GuiRunOnce], if my broken memory still ok it's about T-9?
anyone knows if SetupCopyOEMInf.exe accepts more than one paths?
Detached.cmd for DriverOnCD or Driver7z2HD:
@ECHO OFF
.\PsSuspend.exe setup.exe
.\WatchDriverSigningPolicy.exe
IF EXIST Drivers.7z DO (
::REM extracting drivers archiver to hd, optional
.\7za.exe x -y -aoa -o"%SystemDrive%\Drivers" ".\Drivers.7z"
.\SetupCopyOEMInf.exe "%SystemDrive%\Drivers"
) ELSE (
.\SetupCopyOEMInf.exe Drivers
)
.\PsSuspend.exe -r setup.exe
::REM PsKill WatchDriverSigningPolicy
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" /V "zzzPsKillWatchDriverSigningPolicy" /D "%CD%\PsKill.exe -t WatchDriverSign"
::REM PostInstall
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" /V "zzzzPostInstall" /D "regedit /s %CD%\postInstall.reg"
EXIT
WatchDriverSigningPolicy.exe, SetupCopyOEMInf.exe, PsSuspend.exe, PsKill.exe, postInstall.reg(Pyron's DevicePath/DriverSigning regTweak), 7za.exe(optional), Drivers.7z(optional) in $OEM$ directory.
those psKill and postInstall stuff can put in #1 HKLM\...\RunOnceEx(maybe RunOnce, can't sure), #2 CMDLINES.TXT, #3 WINNT.SIF [GuiRunOnce].
edit:
process name for psKill to kill seems only 15 chars in length at w2k box, psKill "
WatchDriverSign".
This post has been edited by idle.newbie: 04 November 2005 - 08:33 PM