Jump to content

Drivers from CD: Simple Method


a06lp

Recommended Posts

@Dje

Thanks for that. Worked well. I did have the still have an additional $OEM$ directory at the same level as I386 on the multiboot DVD to store the files in (drivers.cmd, etc) and modify the entries in [GuiUnattended].

[GuiUnattended]
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I..\..\$OEM$) DO (IF EXIST %J (start /min /D%J Drivers.cmd)))"

Again, thanks for the assist.

Edited by djackson
Link to comment
Share on other sites

  • 4 weeks later...

With winnt.sif manual direct path to inf specified, we can't use F6 drivers from a floppy (there is an error copying files during GUI part).

With this method we don't specify the path directly so I can specify drivers by F6 and no errors about copying files ?

I hope you understand my question :P

Goodbye.

Link to comment
Share on other sites

hi

i had tryed to install my drivers but it was not able to find the "watchdriversigningpolicy.exe

post-91907-1151181991_thumb.jpg

"" it say's windows cannot find 'd:\Drivers|watchdriversigningpolicy.exe' . make sure

you type the name correctly , and then try again. to search for a file , click the start button , and then click seach.""

pls tell me what to do

this is my winnt.sif file pls check it

=================================================

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=DefaultHide

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

FileSystem=*

Repartition=No

WaitForReboot="No"

UnattendSwitch=Yes

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=190

OemSkipWelcome=1

DetachedProgram=".\system32\cmd.exe"

Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Drivers.cmd)))"

[userData]

ProductKey=*****-*****-*****-*****-*****

FullName="Parihar"

OrgName="HP_Owner"

ComputerName="JAMESBOND"

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=75

[identification]

JoinWorkgroup="WORKGROUP"

[Networking]

InstallDefaultComponents=Yes

[RegionalSettings]

Language=00000409

[setupParams]

UserExecute="WScript.exe %systemroot%\konten.js"

===================================================================

here is a sample XPCD layout (colors correspond to the steps above):

├───$OEM$

│.......├───Drivers

│................├───000_chipset

│................├───001_network

│................├───002_modem

│................├───003_graphics

│................├───004_sound

│................├───005_monitor

│................├───006_keyboard

│.......├───7za.exe

│.......├───Drivers.cmd

│.......├───nircmd.exe

│.......├───Process.exe

│.......├───SetupCopyOEMInf.exe

│.......├───WatchDriverSigningPolicy.exe

├───I386

│.......├───winnt.sif

===============================================================

post-91907-1151183961_thumb.jpg

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=DefaultHide

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

FileSystem=*

Repartition=No

WaitForReboot="No"

UnattendSwitch=Yes

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=190

OemSkipWelcome=1

DetachedProgram=".\system32\cmd.exe"

Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Autoit3.exe Drivers.au3)))"

[userData]

ProductKey=*****-*****-*****-*****-*****

FullName="Parihar"

OrgName="HP_Owner"

ComputerName="JAMESBOND"

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=75

[identification]

JoinWorkgroup="WORKGROUP"

[Networking]

InstallDefaultComponents=Yes

[RegionalSettings]

Language=00000409

[setupParams]

UserExecute="WScript.exe %systemroot%\konten.js"

here is a sample XPCD layout (colors correspond to the steps above):

├───$OEM$

│.......├───Drivers

│................├───000_chipset

│................├───001_network

│................├───002_modem

│................├───003_graphics

│................├───004_sound

│................├───005_monitor

│................├───006_keyboard

│.......├───$$

│................├───system32

│......................├───Drivers

│......................├───AutoIt3

├───SetupCopyOEMInf.exe

├───WatchDriverSigningPolicy.exe

├───I386

│.......├───winnt.sif

=============================================

i have one more doubt about cmd.exewhat is it i had not paste any off them

pls guide me

i m using windows unattended cd creator software

and i had tested this unattended cd on microsoft virtual pc 2004

thaing youpost-91907-1151181991_thumb.jpg

Link to comment
Share on other sites

@raghvendraxu:

Re-read the first post.

Your files are in the wrong places.

The contents of the zip file (7za.exe, Drivers.cmd, nircmd.exe, Process.exe, SetupCopyOEMInf.exe, WatchDriverSigningPolicy.exe) should ALL be in the $OEM$ folder.

Your screenshot shows that the files are in $OEM$\Drivers.

This is why you got the error that the files could not be found - they are in the wrong place.

Link to comment
Share on other sites

@a06lp

again same problem pls help me

post-91907-1151264780_thumb.jpg

this time i had done as u told but again same problem:no:

post-91907-1151264212_thumb.jpg

now pls tell me what to do

i m send an image pls check it

i heard that we can add watchdriversigningpolicy=ignore in winnt.sif file which is at I386

is that one is possible in this case

and also is that is because of virtual pc. is taht one goes corectly when i goes to system installation

Link to comment
Share on other sites

i m again here

after windows installation fails o find watchdriversigningpolicy.exe

i continude my installation to see is my drivers will install or not but they desn't install at all

i have my intel 915 gv motherboard drivers ,agare modem drivers, realtek sound card , d-link lan cad driver,and intel chipset driver and hp wireles keyboard drivers, hp monitor mx704

post-91907-1151268135_thumb.jpg

but none of the driver is installed

you can see in pic.

in disply adapter

instead of "" intel 915gv\910g graphic driver"" it is showing ""s3 trio 32/64 driver

in key board

instead of hp wireless keyboard it shows compeq ps2 keyboard

in monitor

instead of hp mx 704 crt monitor it shows default monitor

in sound video and game controller

instead of "realtek high definition audio" it shows sound blaster 16 or awe32 or compitable wdm

pls pls pls help me

thanking u

raghavendra

Link to comment
Share on other sites

  • 2 weeks later...

:hello:

i want to know if it possible to add this line "%systemdrive%\transparent.exe" into this line

DetachedProgram=".\system32\cmd.exe"

for egzample something like this:

DetachedProgram=".\system32\cmd.exe";"%systemdrive%\transparent.exe"

if not, maybe there is another way.tnx

in fact i need to run DetachedProgram=%systemdrive%\transparent.exe first, so can i do something to this?:

[GuiUnattended]
DetachedProgram=%systemdrive%\transparent.exe
AutoLogon = "Yes"
EncryptedAdminPassword = "No"
AdminPassword = *
TimeZone = 125
OEMSkipRegional = 1
OemSkipWelcome = 1
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J NirCmd.exe exec hide Drivers.cmd)))"

i have tried this way and didn't work

[GuiUnattended]
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J NirCmd.exe exec hide Drivers.cmd)))"
DetachedProgram=%systemdrive%\transparent.exe
AutoLogon = "Yes"
EncryptedAdminPassword = "No"
AdminPassword = *
TimeZone = 125
OEMSkipRegional = 1
OemSkipWelcome = 1

Edited by maniaq
Link to comment
Share on other sites

@maniaq: Start 'transparent.exe' in Drivers.cmd directly.

I have tested on real hardware and SetupCopyOEMInf hangs on setup. I break the batch with Ctrl+C to continue ... any idea about the hang ? a wrong driver ?

I have test F6 drivers but doesn't work with this solution.

Link to comment
Share on other sites

  • 1 month later...

It seems to fail to integrate some inf files, nobody has the problem ? In fact the inf is long to integrate and says failed and continue, but sometime it hangs on "integrating ...". If anyone has a suggestion, come on !

Link to comment
Share on other sites

  • 2 weeks later...

@sonic

SETUPCopyOEMinf hangs are due to the suspended setup.exe process.

SETUPCopyOEMinf needs a DLL CALL that setup.exe provides...offcourse being suspended this gives problems...

This is prolly the problem you are having

@...

The only solutions (for the SETUPCopyOEMinf freezing) so far are:

-Use a ticker script that pauses,resumes,pauses,resumes the setup.exe process...like the one in this topic

-Use the FAKE setup.ex way

Personally I don't like any of these methods...

The first is heavily dependant on the computer speed.

The second provides no real GUI so the user doesn't really see anything happening, this it also the case with the first method...the setup.exe seems to have hanged.(And we don't like to show ugly batch windows ;) )

I was thinking that there are prolly better ways of doing this.

Like suspending all the threads that setup.exe spawned except the one that SETUPCopyInf needs

Rewriting setup.ex_ so that the detachedprogram isn't run detached?

I started a topic concerning the matter : (HERE)

Srry for my bad english

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...

i've been using this method for a while already... it is a super way to intergrade driver... more and more drivers keep coming and keep bigger... this method helps a lot...

just need to ask a simple question to any expert.... of the oem copy...

how will it works if i have 2 folder drivers.... with same name abc.inf in each folder... and they are not the same driver.....

will they also work?

about raid... i already intergrate... nvidia, intel, highpoint, Jmicron, SiImage XXXX, SIS raid, Via raid.. with this method and all works like charm... =)

Edited by cyberloner
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...