m4slayer Posted May 9, 2005 Posted May 9, 2005 Hello Bashrat!I tested M3 in combination with M2 and added this to my presetup.cmd:START %DPDIR%\WatchDriverSigningPolicy.exeSTART /WAIT %DPDIR%\SetupCopyOEMInf.exe %DPDIR%TASKKILL /F /IM WatchDriverSigninPolicy.exeBut problem with failed integration of drivers persists It doesn't work in DetachedProgram too.
Bâshrat the Sneaky Posted May 10, 2005 Posted May 10, 2005 Well, in that cse, could you please verify the .exe files ARE in %DPDIR%? (commonly %DPDIR% is the variable for %SystemDrive%\D)
crazyboot Posted May 10, 2005 Posted May 10, 2005 Hello everyone,This method works Here's the AutoIt script I use at detached programs stage:Winnt.sif[GuiUnattended] DetachedProgram=autoit3.exe Arguments="%systemroot%\System32\presetup.au3"PreSetup.au3$CD = DriveGetDrive("CDROM")For $I=1 to Number($CD[0]) $pa = $CD[$I] & "\win51ip.SP2" If FileExists($pa) Then $instDrv=$CD[$I] EndifNextProcessSetPriority ( "setup.exe", 0)Run(@SystemDir & "\WatchDriverSigningPolicy.exe")ProcessWait("WatchDriverSigningPolicy.exe")RunWait(@SystemDir & "\SetupCopyOEMInf.exe " & $instDrv & "\Drivers")ProcessClose("WatchDriverSigningPolicy.exe")ProcessSetPriority ( "setup.exe", 2)FileDelete(@SystemDir & "\presetup.au3")FileDelete(@SystemDir & "\WatchDriverSigningPolicy.exe")FileDelete(@SystemDir & "\SetupCopyOEMInf.exe")It's also compatible with the Driver Compressor Tool.<{POST_SNAPBACK}>I am searching for an alternative to the guide reference method (Pyron's first one) with SetDevicePath.exe lounched by presetup.cmd which is lounched by hacked setup.exe. For an unidentified reason, it has never worked in my different trials.So I'd like to test yours, Hp38guser. Could you please tell me where can I get the SetupCopyOEMInf.exe executable ?Thanks in advance and see ya.EDIT : I found it, sorry for not seeing it before (it is attached in the topic menu).Great, I am now able to test it. I ll be back with the results of testing ;o))thanks !!!
Bilou_Gateux Posted May 11, 2005 Posted May 11, 2005 RogueSpearDrivers for things like monitors and printers don't change very frequently, but these are exactly the kind of devices that I could see someone plugging in. Monitor drivers take up practically no space at all. Printer drivers, especially when poorly authored, can. So maybe printers could be a concern in terms of extreme bloat in a KtD scenario.I'm currently writing a small batch to pre-install HP DeskJet 3740 or 3840 Series driver and help file (from a network share to local drive) without using bloated (>70Mb) CD install from HP. The CD install cannot be run unattended because you must first start the install, and then plug the USB cable during install...:: Pre-install HP DeskJet %SERIES% Series Driver and help file@ECHO OFFSETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONSET SERIES=3740md "%ProgramFiles%\HP\hpz"cabarc -r -p X %SERIES%hpz.cab *.* C:\Progra~1\HP\hpz\copy "%ProgramFiles%\HP\hpz\glue\fra\drivers\com_lang\hpf2vw10.dat" "%SystemRoot%\system32\spool\drivers\w32x86\3" /Yexpand hpztsb10.ex_ %SystemRoot%\system32\spool\drivers\w32x86\3\hpztsb10.exe::missing switch -r to expand command added May 13, 2005FOR /F "USEBACKQ DELIMS==" %%J IN (`DIR /A-D /OGN /B "%ProgramFiles%\HP\hpz\glue\fra\drivers\com_lang\*.??_" 2^>NUL`) DO expand -r "%ProgramFiles%\HP\hpz\glue\common\drivers\win2k_xp\%%J" "%SystemRoot%\system32\spool\drivers\w32x86\3" > NULFOR /F "USEBACKQ DELIMS==" %%J IN (`DIR /A-D /OGN /B "%ProgramFiles%\HP\hpz\glue\common\drivers\win2k_xp\*.??_" 2^>NUL`) DO expand -r "%ProgramFiles%\HP\hpz\glue\common\drivers\win2k_xp\%%J" "%SystemRoot%\system32\spool\drivers\w32x86\3" > NULFOR /F "USEBACKQ DELIMS==" %%J IN (`DIR /A-D /OGN /B "%ProgramFiles%\HP\hpz\glue\common\drivers\com_os\*.??_ 2^>NUL`) DO expand -r "%ProgramFiles%\HP\hpz\glue\common\drivers\win2k_xp\%%J" "%SystemRoot%\system32\spool\drivers\w32x86\3" > NULmd "%ProgramFiles%\HP\Digital Imaging\help"cabarc -r -p X %SERIES%hlp.cab *.* C:\Progra~1\HP\Digita~1\help\md "%ALLUSERSPROFILE%\Menu Démarrer\Programmes\HP\HP Deskjet %Series% Series"shortcut /f:"%ALLUSERSPROFILE%\Menu Démarrer\Programmes\HP\HP Deskjet %Series% Series\Restaurer l'icône de la barre des tâches.lnk" /a:c /t:"%SystemRoot%\system32\spool\drivers\w32x86\3\hpztbu10.exe -n """HP Deskjet %SERIES% Series""" -force" /d:"Restaure l'icône de la barre des tâches pour un accès aisé à la boîte à outils et aux propriétés de l'imprimante" /r:1shortcut /f:"%ALLUSERSPROFILE%\Menu Démarrer\Programmes\HP\HP Deskjet %Series% Series\Guide de l'utilisateur.lnk" /a:c /t:"%ProgramFiles%\HP\Digital Imaging\help\dj%SERIES%.chm" /d:"Parcourez le Guide de l'utilisateur pour obtenir des informations et des conseils de dépannage" /r:1setupcopyoeminf "%ProgramFiles%\HP\hpz\glue"I just need to change the 3 lines starting with a FOR command to make it run fine and make some improvments. Can someone check the correct syntax of the FOR command to expand a series of compressed files (*.??_) from the source "%ProgramFiles%\HP\hpz\glue\<whatever_subdir>" to the destination "%SystemRoot%\system32\spool\drivers\w32x86\3"EDIT: missing switch -r to expand command added May 13, 2005
Acheron Posted May 11, 2005 Posted May 11, 2005 EDIT Code seems to work. However please use expand -r to extract files from archives
Bilou_Gateux Posted May 13, 2005 Posted May 13, 2005 @hp38guserThanks for your answer. A google search with "expand.exe -r" put me at this URL MSFN's unattended XP CD - Compressed Files and ModifyPEand another similar answer here: Expand multiple files .cmd?I will check my code and edit my previous post with the correct syntax.
edmoncu Posted May 17, 2005 Posted May 17, 2005 It seems several users of my DriverPacks have reported that, when SetupCopyOEMInf.exe is doing its job, alot of annoying 'not WHQL signed warnings' pop up. I found a way to easily circumvent this:START %DPDIR%\WatchDriverSigningPolicy.exeSTART /WAIT %DPDIR%\SetupCopyOEMInf.exe %DPDIR%TASKKILL /F /IM WatchDriverSigninPolicy.exeThat is: using WatchDriverSigninPolicy.exe to get rid of them! (Thanks again, Pyron )<{POST_SNAPBACK}>Hi Bashrat & hp38guser,I have attached the image that I am experiencing applying this method.XP Installation still keeps on prompting me with that message even when WatchDriverSigninPolicy.exe is running... I tried the following:- launched another instance of WatchDriverSigninPolicy.exe- terminate any instance of WatchDriverSigninPolicy.exe and relaunched a new instance of it.However, both options neither worked. I am thinking on using the autoit script made by hp38guser... But still I will have to test it again...I am running this via the 1st line of RunOnceEx.Integration is working well though.Thanks in advanced.UPDATE: I have tried the autoit approach, but still no go. any ideas how can i prevent this popup from recurring when running SetupCopyOEMInf.exe?
Bâshrat the Sneaky Posted May 18, 2005 Posted May 18, 2005 Eh... huh? :o How come WatchDriverSigningPolicy.exe doesn't do its job???Does anyone else suffer this issue?
erik_demon Posted May 18, 2005 Posted May 18, 2005 (edited) I don't have this problem. For me it works perfect. Then again, I only use Bashrat's packs, and other WHQL drivers.edmoncu, do you get this pop-up when you install non-WHQL drivers, or do you get it all the time (even without non-WHQL drivers)?EDIT:I did some testing with non-WHQL drivers.First I tried non-WHQL drivers for my wireless card. When I use WatchDriverSigningPolicy.exe, they install (slipstream) fine.The next test was with the latest Nvidia (video) Beta driver. When I use WatchDriverSigningPolicy.exe this time, it didn't work.Compare the above with this:When I tell windows not to whine about the driver signing (turn it to ignore) my Wireless drivers install fine. My Nvidia drivers however, still give me the pop-up It seems that for some drivers (or devices) the drivers signing can't be ignored Edited May 18, 2005 by erik_demon
edmoncu Posted May 19, 2005 Posted May 19, 2005 hi guys, from the screenshot attached at my previous post, i am installing BTS. this installation includes RVM's pack... this message keeps on popping up not totally for every driver that SetupCopyOEMInf.exe installs but for almost every driver that SetupCopyOEMInf.exe installs... in other words, it pop-ups almost all the time after i click on "continue anyway".btw, this portion is running during runonceex. i wonder if it has anything to do with that one.also, i would like to note that i am using both the latest BTS and RVM pack.
erik_demon Posted May 19, 2005 Posted May 19, 2005 but for almost every driver that SetupCopyOEMInf.exe installs... in other words, it pop-ups almost all the time after i click on "continue anyway".****, that is nasty. In that case you have to click a zillion times btw, this portion is running during runonceex. i wonder if it has anything to do with that one.I don't think that this is the problem. My SetupCopyOEMInf.exe was once running next to WPI, which launched a RunOnceEx kind of screen. All went fine.I don't use RVM's update pack myself, but a lot of people have/had problems with his pack combined with Bashrat's pack. I wonder if the problem is solved without RVM's pack?
edmoncu Posted May 21, 2005 Posted May 21, 2005 hmm... i believe it could be one of the registry settings that i have set that triggered those messages about driver signing to popup like hell. anyways. tried re-running my compilation w/o any registry mods and it seems the popups were removed.
Cr4z33 Posted May 31, 2005 Posted May 31, 2005 Please use my scripts. Downloadable in this thread. Tested successfully on 2k, xp and 2003. <{POST_SNAPBACK}>Sorry, I cannot find your scripts in this thread.
Styxke Posted May 31, 2005 Posted May 31, 2005 (edited) I too have this problem ... driver signing is popping up contantly during install ... And I only use the BTS driverpack Edited May 31, 2005 by Styxke
Bâshrat the Sneaky Posted May 31, 2005 Posted May 31, 2005 Welcome to MSFN, Styxke (where are you from? - I mean which city)@both of you: which versions of the DriverPacks are you using? The latest, I presume???
Recommended Posts