Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


a06lp

Drivers from CD: Simple Method

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

: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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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 !

Share this post


Link to post
Share on other sites

WOW Very nice POst and very very very very very Simple LOL.. I don't even under stand the guide the they make at unattended.msfn.org. lol i under stand more in forums.

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

@a06lp: There seems to have been lots of great info contributed to this topic since the last time you edited the first post. Is an update in order?

Share this post


Link to post
Share on other sites

Yep it can, I've tried it, and worked fine with my raid controller drivers.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...