Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Drivers from CD: Simple Method

* * * * * 1 votes

  • Please log in to reply
221 replies to this topic

#51
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag
I did a real test today. It does works correct now :)
Say no to bloatware. Download Nero Lite!


How to remove advertisement from MSFN

#52
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04
Updated first post.

10/11/05: New upload again. This time, the Drivers.au3 file is altered again, and the code to be entered into winnt.sif has been changed. This entire method runs from CD (no files copied over!) This is all from this post. Again- I personally tested this method (as has hp38guser) and it works!



For those of you who have been following this thread, the method is the one posted on the previos page by hp38guser (here). However, I call the autoit file Drivers.au3 (as opposed to presetup.au3) to avoid confusion. But all proper changes are in the first post.

Follow the directions in the first post, and it will work perfectly. (I've tested it.)

Edited by a06lp, 11 October 2005 - 03:22 PM.


#53
WebMatze

WebMatze

    Junior

  • Member
  • Pip
  • 54 posts
  • Joined 29-July 04
Hello,

i find your method very cool but i have a question about the use of your method with a multiboot DVD, here is my DVD structure:

├───HOM1
├───HOM2
├───HOM3
│.......├───winnt.sif
├───PRO1
├───PRO2
├───PRO3
│.......├───winnt.sif
├───SETUP
│.......├───XPPRO
│................├───$OEM$
│................├───i386
│.......├───XPHOME
│................├───$OEM$
│................├───i386
├───WPI
│.......├───DRIVERS
│................├───Monitor
│................├───nVidia
│................├───Printer

I tested your method with the files dated from 08th october and it worked perfectly, but i'm unsure if the new files dated from 11th will work on my config, i there a way to adapt the command line in winnt.sif to my config?

Thanks for your help

#54
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04
[edit]

Solution posted below.

Edited by a06lp, 12 October 2005 - 01:12 PM.


#55
Bilou_Gateux

Bilou_Gateux

    Powered by Windows Embedded

  • Member
  • PipPipPipPipPip
  • 768 posts
  • Joined 03-January 04

I tested your method with the files dated from 08th october and it worked perfectly, but i'm unsure if the new files dated from 11th will work on my config, i there a way to adapt the command line in winnt.sif to my config?


Post the $WINNT$.INF file found in %SystemRoot%\System32 of your above running config in order to check the dospath value. Don't forget to replace ProductKey with xxxxx.
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0140
Product Type = 1
Architecture = x86

#56
WebMatze

WebMatze

    Junior

  • Member
  • Pip
  • 54 posts
  • Joined 29-July 04
hello bilou,

here is the dospath in the file:

dospath=G:\SETUP\XPPRO\




Ok I think there is no way to make the method dated from october the 11th work with my multiboot DVD, that not a big problem because the method form 8th october works...
Thanks for your answer.

#57
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag
Off course the new method works. You just have to modify the driver.au3 a bit:

driver.au3

ProcessSetPriority("setup.exe",0)
Run(@ScriptDir & "\WatchDriverSigningPolicy.exe")
ProcessWait("WatchDriverSigningPolicy.exe")
RunWait(@ScriptDir & "\SetupCopyOEMInf.exe ..\..\WPI\Drivers")
ProcessClose("WatchDriverSigningPolicy.exe")
ProcessSetPriority("setup.exe",2)


Use the ..\ to go up one level in the directory structure. The default location is the $OEM$ directory.

Don't ever change the WinNT.sif. It takes the dospath Windows uses by default :)
Say no to bloatware. Download Nero Lite!

#58
WebMatze

WebMatze

    Junior

  • Member
  • Pip
  • 54 posts
  • Joined 29-July 04
Thanks a lot for your help, i'll try the new drivers.au3...

#59
Forsaken163

Forsaken163
  • Member
  • 1 posts
  • Joined 12-October 05
Is there any possible way to do this, and still have access to the repair function with a SATA hard drive? I have an Asus A8V deluxe, and am using the promise 378 controller in IDE mode, and would like to be able to boot off the cd but still have access to the repair function. I have used xpcreate, and get a disk that access my SATA drive but I cannot use the repair installation function. Does anyone have any feedback on this issue?
Thanks.

#60
WebMatze

WebMatze

    Junior

  • Member
  • Pip
  • 54 posts
  • Joined 29-July 04
@hp38guser

for info i tested your solution to my problem but it didn't work, that not a problem for me i will keep the method dated form 8th october, this one works.

#61
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag
Meaby I was wrong with the ..\ thingy.

Can you try the following:

driver.au3

ProcessSetPriority("setup.exe",0)
Run(@ScriptDir & "\WatchDriverSigningPolicy.exe")
ProcessWait("WatchDriverSigningPolicy.exe")
RunWait(@ScriptDir & "\SetupCopyOEMInf.exe ..\..\..\WPI\Drivers")
ProcessClose("WatchDriverSigningPolicy.exe")
ProcessSetPriority("setup.exe",2)


Or if you want to test on a installed system:

open cmd.exe. Browse to the SETUP\XPPRO\$OEM$ dir and run the following:
SetupCopyOEMInf.exe ..\..\..\WPI\Drivers

I still think it should work this way.
Say no to bloatware. Download Nero Lite!

#62
WebMatze

WebMatze

    Junior

  • Member
  • Pip
  • 54 posts
  • Joined 29-July 04
Ok,

Itried with one ..\ more and It seems to work,

Thanks

#63
nite0859

nite0859

    Professional Slacker

  • Member
  • 34 posts
  • Joined 26-May 03
Just droping a quick note in here. I made a post over in the BTS driver section here : http://www.msfn.org/...showtopic=58145 . Perhaps the AutoIT method crew can browse it and perhaps use the same suggestion that I made to BTS.

I'm not trying to double post on purpose, so forgive me if I am. I just attempting to get as much feedback as I can.

#64
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04
@nite0859:

It's kinda off-topic.
This topic is not making driver packs - it's to provide a METHOD to install drivers you ALREADY have.

BTS can decide for himself what to do with your post - although get the feeling that his pack is pretty inclusive already...

#65
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Is there any possible way to do this, and still have access to the repair function with a SATA hard drive? I have an Asus A8V deluxe, and am using the promise 378 controller in IDE mode, and would like to be able to boot off the cd but still have access to the repair function. I have used xpcreate, and get a disk that access my SATA drive but I cannot use the repair installation function. Does anyone have any feedback on this issue?
Thanks.


You can use this driver method only for PNP-devices. However it's possible to use WinNT.sif and keep the Repair functionality by not specifying a [Unattended] section in WinNT.sif. This will make the TEXTSETUP attended, but keep the GUI part of the setup unattended
:)
Say no to bloatware. Download Nero Lite!

#66
htc

htc

    Member

  • Member
  • PipPip
  • 252 posts
  • Joined 14-October 04
I've tested it 2 weeks ago - it worked far, far from perfect - ideed, far from good!
I combine usually 10 - 50 inf files(drivers for the same class, e.g. chipsets, nic etc.) into one subdirectory(audio in 5 subdir beause of filename conflict). With method 1 it works perfectly. But with this AutoIt method, it took more time to register all the inf file on the cd than the method 1 to copy all the files from cd onto hdd, much worse, 20%-30% of inf file ware not accepted - so
As long as it not works perfectly, it is useless - It takes also more time for the Installation.

#67
erik1983

erik1983
  • Member
  • 1 posts
  • Joined 08-June 05
hey ppl,

this method works great! I've only 1 problem and i've no idea to fix it.

At 39 minutes remaining the autoit script runs and after that hardware is detected i pressume. All hardware is detected, except my monitor. I'm working on a notebook and the regular plug a play monitor should be installed. Setup however comes up with the "new hardware found" screen and asks to search to search for drivers on the internet. Even after searching for drivers manually it doesnt find anything.

When i loggon to windows the first time, the plug en play monitor is found.

Any ideas why setup doesn't find the plug and play monitor and how to fix this?

btw .. all manual drivers for my notebook i copied in the drivers folder where installed without problems

Edited by erik1983, 25 October 2005 - 06:50 AM.


#68
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04
@erik1983:

I have no idea. I have a laptop, and have used this method countless times without problems.
I have my Display Drivers on my CD in the Drivers folder.
My laptop is a Toshiba - what do you use? are the drivers in the right place?

#69
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag

I've tested it 2 weeks ago - it worked far, far from perfect - ideed, far from good!
I combine usually 10 - 50 inf files(drivers for the same class, e.g. chipsets, nic etc.) into one subdirectory(audio in 5 subdir beause of filename conflict). With method 1 it works perfectly. But with this AutoIt method, it took more time to register all the inf file on the cd than the method 1 to copy all the files from cd onto hdd, much worse, 20%-30% of inf file ware not accepted - so
As long as it not works perfectly, it is useless - It takes also more time for the Installation.


To save some time copying you could compress your drivers using the Driver Compressor Tool.

However I may have found the solution :)

EDIT:

Drivers.au3
$list = ProcessList("setup.exe")
$setuppid = $list[1][1]
Run(@ScriptDir&"\pausep.exe "&$setuppid)
Run(@ScriptDir & "\WatchDriverSigningPolicy.exe")
RunWait(@ScriptDir & "\SetupCopyOEMInf.exe Drivers")
ProcessClose("WatchDriverSigningPolicy.exe")
Run(@ScriptDir&"\pausep.exe "&$setuppid&" /r")

You need pausep.exe. Place this file also in the $oem$ directory

Now the only thing we need to do is combine:

pausep.exe
SetupCopyOEMInf.exe
WatchDriverSigningPolicy.exe

into a single application :hello:

Attached Files


Edited by hp38guser, 02 November 2005 - 07:19 PM.

Say no to bloatware. Download Nero Lite!

#70
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag
*BUMP

Installing goes fine using pausep.exe :)

Anyone else tested this???
Say no to bloatware. Download Nero Lite!

#71
Sonic

Sonic

    Sonic

  • Patrons
  • 1,603 posts
  • Joined 04-December 03
Okay, I will begin to test this method !

Just one question, it's possible to execute the script @ T-12 ?
In fact, when the network is okay, beacause, I would like to search drivers on the network ... good idea no ?

#72
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
  • Joined 19-August 04

I may have found the solution
...
You need pausep.exe.


First of all, the current first-post method works fine for me...
Those who have problems: it's caused by having too many drivers, so setup continues without finishing the scan? [Am I correct that this is the problem??]

Second, hp38guser:
Are you saying pausep.exe (along with the modified autoit script) solved this problem that I just mentioned?

Also, is this pausep.exe a full version or a demo?
(and can you send it to me so I can test it, and update the first post?)

#73
idle.newbie

idle.newbie

    Junior

  • Member
  • Pip
  • 93 posts
  • Joined 01-August 04
free sysinternals' PsSuspend included inside PsTools? http://www.sysintern.../PsSuspend.html


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

using DetachedProgram to scan dospath should consider a hack, tho it works currently, it may not perm.

i love Pryon's SetupCopyOEMInf.exe :D

maybe i should modify my Detached.cmd with PsTools into:
@ECHO OFF
.\PsSuspend.exe setup.exe
.\WatchDriverSigningPolicy.exe
::rem extracting drivers archiver to hd, optional
::rem .\7za.exe x -y -o"%SystemDrive%\Drivers" ".\Drivers.7z"
.\SetupCopyOEMInf.exe Drivers
.\PsSuspend.exe -r setup.exe
save another 118,272(AutoIt3.exe) - 31,232(upx -9 PsSuspend.exe) = 87,040 bytes :D


WatchDriverSigningPolicy.exe should PsKill after T-13?

if SetupCopyOEMInf.exe accepts more paths, then i'll change to SetupCopyOEMInf.exe Drivers "%SystemDrive%\Drivers", fits on both [drivers on cd] and [drivers extract to hd].

Edited by idle.newbie, 04 November 2005 - 01:11 AM.


#74
Acheron

Acheron

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag
I have WatchDriverSigningPolicy only run while SetupCopyOEMInf.exe is processing the drivers. Meaby it's completely unnecessary. I don't know

However thanks for PsSuspend! They release so much I overlooked this :D

Tested PsSuspend a bit and it seems to work better than PauseP. Try VirtualDub for example, suspending while playing a video will no longer crash the program :)

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

Or if you prefer AutoIT:

drivers.au3
Run(@ScriptDir&"\pssuspend.exe setup")
Run(@ScriptDir&"\WatchDriverSigningPolicy.exe")
RunWait(@ScriptDir&"\SetupCopyOEMInf.exe "&@ScriptDir&"\Drivers")
ProcessClose("WatchDriverSigningPolicy.exe")
Run(@ScriptDir&"\pssuspend.exe -r setup")

Edited by hp38guser, 04 November 2005 - 09:48 AM.

Say no to bloatware. Download Nero Lite!

#75
Nucleus

Nucleus

    Member

  • Member
  • PipPip
  • 267 posts
  • Joined 15-February 05
If i use this method for installing drivers, whenever i install some new hardware on my computer, i will need my unattended dvd?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users