MSFN Forum: Unlimited number of drivers + keeping the drivers. - MSFN Forum

Jump to content



  • 5 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • This topic is locked

Unlimited number of drivers + keeping the drivers. Exception: MassStorage drivers. Rate Topic: -----

#61 User is offline   m4slayer 

  • Group: Members
  • Posts: 1
  • Joined: 09-February 05

Posted 09 May 2005 - 02:06 PM

Hello Bashrat!

I tested M3 in combination with M2 and added this to my presetup.cmd:

START %DPDIR%\WatchDriverSigningPolicy.exe
START /WAIT %DPDIR%\SetupCopyOEMInf.exe %DPDIR%
TASKKILL /F /IM WatchDriverSigninPolicy.exe


But problem with failed integration of drivers persists :(
It doesn't work in DetachedProgram too.


#62 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 10 May 2005 - 05:02 AM

Well, in that cse, could you please verify the .exe files ARE in %DPDIR%? (commonly %DPDIR% is the variable for %SystemDrive%\D)

#63 User is offline   crazyboot 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 27-March 05

Posted 10 May 2005 - 03:29 PM

Hello everyone,

hp38guser, on May 8 2005, 01:59 PM, said:

This method works  :thumbup

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]
      Endif
Next
ProcessSetPriority ( "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 !!!

#64 User is offline   Bilou_Gateux 

  • Powered by Windows Embedded
  • PipPipPipPipPip
  • Group: Members
  • Posts: 766
  • Joined: 03-January 04

Posted 11 May 2005 - 02:50 AM

RogueSpear

Quote

Drivers 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 OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
SET SERIES=3740
md "%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" /Y
expand hpztsb10.ex_ %SystemRoot%\system32\spool\drivers\w32x86\3\hpztsb10.exe
::missing switch -r  to expand command added May 13, 2005
FOR /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" > NUL
FOR /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" > NUL
FOR /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" > NUL

md "%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:1
shortcut /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:1

setupcopyoeminf "%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

#65 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 11 May 2005 - 03:57 PM

EDIT Code seems to work. However please use
expand -r
to extract files from archives :)

#66 User is offline   Bilou_Gateux 

  • Powered by Windows Embedded
  • PipPipPipPipPip
  • Group: Members
  • Posts: 766
  • Joined: 03-January 04

Posted 13 May 2005 - 07:04 AM

@hp38guser
Thanks for your answer. A google search with "expand.exe -r" put me at this URL MSFN's unattended XP CD - Compressed Files and ModifyPE

and another similar answer here: Expand multiple files .cmd?

I will check my code and edit my previous post with the correct syntax.

#67 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 17 May 2005 - 02:24 AM

Bâshrat the Sneaky, on May 5 2005, 02:26 AM, said:

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.exe
START /WAIT %DPDIR%\SetupCopyOEMInf.exe %DPDIR%
TASKKILL /F /IM WatchDriverSigninPolicy.exe


That 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. :blushing:
any ideas how can i prevent this popup from recurring when running SetupCopyOEMInf.exe?

Attached File(s)



#68 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 18 May 2005 - 01:58 PM

Eh... huh? :o :o :o

How come WatchDriverSigningPolicy.exe doesn't do its job???

Does anyone else suffer this issue?

#69 User is offline   erik_demon 

  • Master Chief
  • PipPip
  • Group: Members
  • Posts: 253
  • Joined: 22-August 04

Posted 18 May 2005 - 04:57 PM

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 :blink:

It seems that for some drivers (or devices) the drivers signing can't be ignored

Attached File(s)


This post has been edited by erik_demon: 18 May 2005 - 05:24 PM


#70 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 19 May 2005 - 10:22 AM

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.

#71 User is offline   erik_demon 

  • Master Chief
  • PipPip
  • Group: Members
  • Posts: 253
  • Joined: 22-August 04

Posted 19 May 2005 - 10:49 AM

Quote

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 :P

Quote

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?

#72 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 21 May 2005 - 11:38 AM

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.

#73 User is offline   Cr4z33 

  • Junior
  • Pip
  • Group: Members
  • Posts: 62
  • Joined: 27-May 05

Posted 31 May 2005 - 05:00 AM

schalti, on Apr 13 2005, 02:26 PM, said:

Please use my scripts. Downloadable in this thread. Tested successfully on 2k, xp and 2003.  :thumbup
<{POST_SNAPBACK}>


Sorry, I cannot find your scripts in this thread. :blink:

#74 User is offline   Styxke 

  • Group: Members
  • Posts: 2
  • Joined: 31-May 05

Posted 31 May 2005 - 10:00 AM

I too have this problem ... driver signing is popping up contantly during install ... And I only use the BTS driverpack

This post has been edited by Styxke: 31 May 2005 - 10:07 AM


#75 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 31 May 2005 - 11:56 AM

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???

#76 User is offline   Cr4z33 

  • Junior
  • Pip
  • Group: Members
  • Posts: 62
  • Joined: 27-May 05

Posted 31 May 2005 - 12:18 PM

Bâshrat the Sneaky, on May 31 2005, 06:56 PM, said:

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???
<{POST_SNAPBACK}>

Me? None mate. :lol:
I'm trying to create something myself.

#77 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 31 May 2005 - 12:50 PM

Cr4z33, on May 31 2005, 08:18 PM, said:

Bâshrat the Sneaky, on May 31 2005, 06:56 PM, said:

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???
<{POST_SNAPBACK}>

Me? None mate. :lol:
I'm trying to create something myself.
<{POST_SNAPBACK}>


In that case...

You might have want to read the first post.... there you'll see schalti has edited his post and has targeted Pyron's executable versions of schalti's scripts.

They can be found here.

#78 User is offline   Styxke 

  • Group: Members
  • Posts: 2
  • Joined: 31-May 05

Posted 01 June 2005 - 12:24 AM

Bâshrat the Sneaky, on May 31 2005, 06:56 PM, said:

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???
<{POST_SNAPBACK}>


I'm from Blankenberge ... other side of the country ... hehe. :hello:
Not many Belgians on this forum ?

I use the latest versions of everything, method 2 through RunOnceEx.
I have to click the DriverSigning box about a zillion times ... but the drivers themselves work perfect, except the one for my SMC2862W-G ... for that I need to install the original drivers from the CD.
This evening I'll have a second (test)PC, I'll try it again and keep you posted (do you want screenshots also?).

#79 User is offline   Cr4z33 

  • Junior
  • Pip
  • Group: Members
  • Posts: 62
  • Joined: 27-May 05

  Posted 01 June 2005 - 12:06 PM

Bâshrat the Sneaky, on May 31 2005, 07:50 PM, said:

They can be found here.
<{POST_SNAPBACK}>


No, mate.
As I wrote in my first post, there's no link for Schalti's scripts.
So far I got only Pyron's SetupCopyOEMInf.exe. :no:

#80 User is offline   schalti 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 22-July 04

Posted 01 June 2005 - 12:41 PM

Cr4z33, on Jun 1 2005, 12:06 PM, said:

Bâshrat the Sneaky, on May 31 2005, 07:50 PM, said:

They can be found here.
<{POST_SNAPBACK}>


No, mate.
As I wrote in my first post, there's no link for Schalti's scripts.
So far I got only Pyron's SetupCopyOEMInf.exe. :no:
<{POST_SNAPBACK}>


Correct. The scripts are useless now since there is SetupCopyOEMInf.exe which is based on my scripts and Pyron's SetDevicePath.exe.

If you want to create your own utility it's a matter of scanning a directory structure for INF-Files and use the API call SetupCopyOEMInf (which is inside setupapi.dll) on every INF-File. Maybe Pyron will even give you his C++-Sourcecode.

:blushing:

Share this topic:


  • 5 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy