MSFN Forum: Drivers from CD: Simple Method - MSFN Forum

Jump to content



  • 12 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Drivers from CD: Simple Method Rate Topic: ***** 1 Votes

#81 User is offline   koeppr 

  • Group: Members
  • Posts: 1
  • Joined: 05-November 05

Posted 05 November 2005 - 09:23 PM

Hi There,

This is a great find for me. I am trying to get a AMD A64 up and running and keep getting set-up aborts for driver errors. I know I need the Via Chipset drivers as well as CDROM and EDI HD drivers. None of these are on floppy because the files are too large. I was going to post a question to see if anyone has or would write a program to do just this.

Will it work to preload WXP X64 drivers prior to set-up ?

Also since I loaded SP3 I can't get pop -ups. I can't download your fine program from here.. It there another place I can download it from ?

There are so many hobbiests suffering from not having drivers in their Systems at set-up. NewEgg posts are full of them. I think I will write to NewEgg and tell them about this post. It will help many who have spent a lot of $$ to get into the 64 bit arena.

Ron


#82 User is offline   g8way2 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 04-November 05

Posted 06 November 2005 - 10:05 AM

Thanks a lot for this method, I have just started to build my own unattended install dvd and the automatic driver installation was drving me crazy. This method looks nice and easy = me likes. Just one question:

In the Unatteded Guide, the drivers are placed in the $OEM$/$1/Drivers folder. I followed the instructions and made some subfolders, one for each set of drivers, ie 000_chipset, 001_graphics, etc.

The question is: Can I have subfolders inside the specific driver folders, ie /Drivers/001_graphics/SomeFolder1 and /Drivers/001_graphics/SomeFolder2 and will the AutoIT method scan the subfolders for drivers, or must i use inf files put directly in the /Drivers/001_graphics folder ?

cheers in advance

#83 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 06 November 2005 - 10:50 AM

we all put in $oem$\Drivers i think and no more $1 ..
u put in $1 will copy it to $systemdrive$\drivers...

u can use sub folders and it will scan it too....

i just dun like the popup cmd screen at the installation but it works like charm..

Thanks guys!

#84 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 12:39 PM

@g8way2:
No $1 folder. Follow the instructions in the first post of this thread. the unattended guide is for a different method. this is the autoit method.

@hp38guser:
I tried your autoit code in this post but setupcopyoem was paused for some reason...
i have modified the code and am retrying now. i'll post results in an hour or so, and then if it works, ill update the first post.

#85 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 06 November 2005 - 12:50 PM

yup ... when comes to installation..
it will copy a while... stop a while... copy a while.... and stop....a while...
but when finish... everything is install well...

#86 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 01:03 PM

View Postcyberloner, on Nov 6 2005, 02:50 PM, said:

yup ... when comes to installation..
it will copy a while... stop a while... copy a while.... and stop....a while...
but when finish... everything is install well...


I'm not ready to take that sitting down.
This start/stop problem didn't exist before pssuspend.
I'm trying my modified code to see if that helps-

btw cyberloner, - which code did you use?

#87 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 November 2005 - 01:31 PM

View Posta06lp, on Nov 7 2005, 06:03 AM, said:

View Postcyberloner, on Nov 6 2005, 02:50 PM, said:

yup ... when comes to installation..
it will copy a while... stop a while... copy a while.... and stop....a while...
but when finish... everything is install well...


I'm not ready to take that sitting down.
This start/stop problem didn't exist before pssuspend.
I'm trying my modified code to see if that helps-

btw cyberloner, - which code did you use?



Didn't notice that with my install at all? Strange?

#88 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 06 November 2005 - 01:38 PM

View Posta06lp, on Nov 6 2005, 01:03 PM, said:

View Postcyberloner, on Nov 6 2005, 02:50 PM, said:

yup ... when comes to installation..
it will copy a while... stop a while... copy a while.... and stop....a while...
but when finish... everything is install well...


I'm not ready to take that sitting down.
This start/stop problem didn't exist before pssuspend.
I'm trying my modified code to see if that helps-

btw cyberloner, - which code did you use?


all files isin $OEM$

Run(@ScriptDir&"\SUSPEND.EXE setup")
Run(@ScriptDir&"\DIGISIGN.EXE")
RunWait(@ScriptDir&"\COPYINF.EXE "&@ScriptDir&"\Drivers")
ProcessClose("DIGISIGN.EXE")
Run(@ScriptDir&"\SUSPEND.EXE -r setup")


(IN WINNT.SIF)
[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 Autoit3.exe Drivers.au3)))"

maybe i'll try format again

This post has been edited by cyberloner: 06 November 2005 - 01:43 PM


#89 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 01:43 PM

ok...
even with the modified au3 file i had the stalling.

i think i am going to change the method to a batch script.
again, i'll test it (good thing im off today) and i'll post results. gimme another 2 hours.

#90 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 03:38 PM

ok, im getting really p***ed off.

this is the sixth reinstall i've done today.

Doesn't make a difference if it's autoit or batch, my setup keeps freezing/stalling/pausing.
And it's always at the exact same spot (Dell Dimension\D850 V.9X-56K Data-Fax Modem\del200fk.inf).
The same drivers work fine with the old method (the one in the first post)...
It's got to be something with the pssuspend, because when i run the batch in windows it works perfectly (except pssuspend says it cannot find setup.exe).

I dont know why the batch and autoit files freeze me up though.

I'm running out of ideas...
I'm going to try to remove that driver from the cd and see what happens.

But if anyone else has any ideas as to why this is happenening, i'd love to hear them.

This post has been edited by a06lp: 06 November 2005 - 03:41 PM


#91 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 06 November 2005 - 04:09 PM

can u use batch while installing windows?
i tried to creat a batch file at $oem$
and creat a driver.cmd

and make a CMDLINES.TXT
[COMMANDS]
"Driver.CMD"

@echo off
pssuspend.exe setup.exe
start watchdriversigningpolicy.exe
setupcopyoeminf.exe Drivers
pskill.exe -t watchdriversigningpolicy.exe
pssuspend.exe -r setup.exe
exit



and remove the entries

(IN WINNT.SIF)
[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 Autoit3.exe Drivers.au3)))"

but it won't install any driver for me... just testing....

#92 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 06:17 PM

i tried AGAIN, but it froze.

it had nothing to do with the driver itself (as i suspected).

I counted how many drivers were processed - 30 before the computer froze.

The only thing I can think of is that the Setup itself, if PAUSED for too long, will freeze the computer so that it will restart itself on next reboot.

I have no way of really testing this theory, but I can tell you that the exact same disc, with the only difference being the addidtion of the pssuspend is what caused the problem.

if im right, we shouldnt, and cant, pause the actual setup,. this brings me back to the original method - the one in the first post of this thread.

i need other people to test and comment on this. this is me, calling for help.


to those whose setup worked (using the pssuspend): how many drivers inf files were integrated/processed?
about how long did it take?

This post has been edited by a06lp: 06 November 2005 - 06:18 PM


#93 User is offline   idle.newbie 

  • Junior
  • Pip
  • Group: Banned
  • Posts: 93
  • Joined: 01-August 04

Posted 06 November 2005 - 06:35 PM

View Postcyberloner, on Nov 7 2005, 06:09 AM, said:

can u use batch while installing windows?
i tried to creat a batch file at $oem$
and creat a driver.cmd

and make a CMDLINES.TXT


and remove the entries

(IN WINNT.SIF)

but it won't install any driver for me... just testing....

if you wanna try batch way, remove Drivers.cmd in CMDLINES.TXT, and keep the [GuiUnattended] part:

Quote

[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)))"



got no CDR now, but when i insert my old disc(using DetachedProgram with batch @T-39). i've done following tests:
when setup.exe starts, press Shift-F10 to open command prompt, and enter "PsSuspend setup.exe" when DetachedProgram starts. the setup.exe totally frozen(even no repaint). i didn't put drivers on cd, compressed drivers instead, the 7z extracting console works fine as usual. the setup.exe stopped until "PsSuspend -r setup.exe"(30min at least, out for something).

tho i didn't execute any WatchDriverSigningPolicy/SetupCopyOEMInf, do that using OemPnPDriversPath(my driver lists' short), the issue using DetachedProgram to install pnp drivers is time exceeded T-34.
the setup.exe freeze, drivers extracting smoothly, nothing geek to me. it seems okay using PsSuspend in DetachedProgram with batch.
ps. full SP2 source image last year without nLited, no hotfixs, nothing patched.

This post has been edited by idle.newbie: 06 November 2005 - 06:47 PM


#94 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 06:47 PM

View Postidle.newbie, on Nov 6 2005, 08:35 PM, said:

i've done following tests
...


This is the code I tested (although it can't be the problem, because I also tested the autoit scripts form page 8)
When run in Windows, it works perfectly...But when I run it during setup, my setup freezes.
CLS
@ECHO OFF
TITLE Drivers-from-CD Installation
color 1F

::  Pause Setup
	.\PsSuspend.exe setup.exe
::  Allow for Unsigned Drivers
	start .\WatchDriverSigningPolicy.exe
::  Install Drivers
	IF EXIST Drivers.7z (
	  .\7za.exe x -y -aoa -o"%SystemDrive%\Drivers" ".\Drivers.7z"
	  .\SetupCopyOEMInf.exe "%SystemDrive%\Drivers"
	) ELSE (
	  .\SetupCopyOEMInf.exe Drivers
	)
::  Close WatchDriverSigningPolicy
	TASKKILL /F /IM WatchDriverSigningPolicy.exe
::  Resume Setup
	.\PsSuspend.exe -r setup.exe

EXIT


View Postidle.newbie, on Nov 6 2005, 08:35 PM, said:

(my driver lists' short)

I need someone to test a CD with about 50 drivers .inf files, so that I can see if this is the problem I'm having.

This post has been edited by a06lp: 06 November 2005 - 06:49 PM


#95 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 06 November 2005 - 07:22 PM

Thanks idle.newbie
will try again...
i still having the lag while copying inf.... =)

#96 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 06 November 2005 - 09:33 PM

I haven't been closely following this thread, and I've tried to read through and follow everything, but to be honest I don't have everything down that's going on here. Soooo, if this has been brought up, my sincerest apologies. With all of the recent use of pssuspend and pskill, I'm just wondering if using AutoIt's builtin function ProcessSetPriority has been explored here. On it's face, it seems like it would do what you want it to do.

#97 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 06 November 2005 - 09:41 PM

View PostRogueSpear, on Nov 6 2005, 11:33 PM, said:

I'm just wondering if using AutoIt's builtin function ProcessSetPriority has been explored here. On it's face, it seems like it would do what you want it to do.

Yeah, it's been explored. It doesn't pause Setup, it slows it. Some people had so many drivers that setup continued without finishing copying the driver infs. hence all this pausing setup talk.

#98 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 06 November 2005 - 09:44 PM

I was thinking more along the lines of setting setup.exe to idle and your AutoIt script to high. Perhaps a double whammy like that could force the issue.

#99 User is offline   X-Savior 

  • Member
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 23-February 05

  Posted 06 November 2005 - 11:48 PM

Hey Everyone!!!!!!! :D

I'm Back!!!!! :thumbup How's it going Erik, Rogue, Bashrat!

Wow, Things have sure come a long way since we developed the KTD Method! I am still catching up on everything to date. How is it working? I assume we have finally merged KTD & Unlimited Methods? :yes:

#100 User is offline   g8way2 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 04-November 05

Posted 07 November 2005 - 07:17 AM

@ a06lp -->> thanks , hehe I did read the whole thread and still managed to overlook the install instructions

Ok, everything up and running and so far no probs. First testrun installed ok.

Next question, is it possible to combine this method with something that makes it possible to get the MassStorage drivers to install as well . Yes, I know AutoIt is only for PnP devices, but I want my MTV as well ;) Any hint greatly appreciated. Or would it be better/easier?? to go generic and go for BTS Driver Pack solution instead

Share this topic:


  • 12 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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