![]() ![]() |
Aug 13 2005, 12:17 AM Post
#21 | |
| Ditchy McAbandonpants ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 946 Joined: 27-January 04 Member No.: 13226 |
what do you mean by idle-mode? does that mean that if I inclue extracting the 7zip archive using Run.Wait it will idle at DetachedProgram? Also, why the need to input the cd when using this method for any devices that were not connected during install...is it because of a registry setting? Im just asking if it is something we can change because I copy the driver directory from the cd to hard drive just for the purpose of not needing the cd again. This post has been edited by evilvoice: Aug 13 2005, 03:17 AM |
| | |
Aug 13 2005, 05:07 AM Post
#22 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 454 Joined: 7-October 03 Member No.: 7815 |
Different write up for the script. CODE ; Files To Use $FILE_0 = "setup.exe" $FILE_1 = "WatchDriverSigningPolicy.exe" $FILE_2 = "SetupCopyOEMInf.exe " $CD = DriveGetDrive( "CDROM" ) ; Check Drives For $I = 1 to $CD[0] If FileExists( $CD[$I] & "\win51ip.SP2" ) Then $iDrive = $CD[$I] & "\$oem$\" Next ; Setup = Idle ProcessSetPriority ( $FILE_0 , 0 ) ; Process Drivers Run ( $iDrive & $FILE_1 ) ProcessWait ( $FILE_1 ) RunWait ( $iDrive & $FILE_2 & $iDrive & "Drivers" ) ProcessClose ( $FILE_1 ) ; Setup = Normal ProcessSetPriority ( $FILE_0 , 2 ) ; Delete File FileDelete ( @SystemDir & "\driver.au3" ) Not sure if the ProcessWait is really needed tho...then again haven't tested this method yet ether. |
| | |
Aug 13 2005, 09:29 AM Post
#23 | |
| Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 879 Joined: 28-June 04 From: Eerbeek Member No.: 23554 OS: XP Pro x86 |
If you want all drivers get installed from HDD you have only to modify the SetupCopyOEMInf.exe command line. For example you want the Drivers to be located in \Windows\Drivers you can use this code: driver.au3 CODE $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($instDrv & "\$oem$\WatchDriverSigningPolicy.exe") ProcessWait("WatchDriverSigningPolicy.exe") RunWait($instDrv & "\$oem$\SetupCopyOEMInf.exe " & @WindowsDir & "\Drivers") ProcessClose("WatchDriverSigningPolicy.exe") ProcessSetPriority ( "setup.exe", 2) FileDelete(@SystemDir & "\driver.au3") Where in $oem$\$$\System32: CODE autoit3.exe driver.au3 Following files in $oem$ CODE SetupCopyOEMInf.exe WatchDriverSigningPolicy.exe And in $oem$\$$\drivers your driver files This post has been edited by hp38guser: Aug 13 2005, 09:29 AM |
| | |
Aug 13 2005, 10:16 AM Post
#24 | |
| Ditchy McAbandonpants ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 946 Joined: 27-January 04 Member No.: 13226 |
so why the need for a06lp's last note in the first post? I assumed it was something else, like a registry problem, or something, but if using setupcopyoeminf.exe on the windows\source\drivers dir will make it so windows does not prompt for the cd when installing NEW devices, then Ill use that method, just thought it was more in depth.
|
| | |
Aug 26 2005, 12:25 AM Post
#25 | |
| Ditchy McAbandonpants ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 946 Joined: 27-January 04 Member No.: 13226 |
still havent tried it out yet, but i do think this should be stickied or merged...or something to keep it at the top...a bunch of people say this method works better than the previous version...so maybe the old should be replaced with the new?
|
| | |
Aug 31 2005, 07:06 PM Post
#26 | |
| Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 976 Joined: 19-August 04 Member No.: 28204 |
Just thought I'd point something out... The OTHER Drivers-from-CD method didn't work with RyanVM's Update Packs. However, this method, as outlined in the first post, is tested, and WORKS, with v1.3.1 of his pack. Enjoy! |
| | |
Sep 4 2005, 11:24 AM Post
#27 | |
| Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 679 Joined: 6-August 04 Member No.: 26369 OS: none |
Does this method work for Windows 2000 Pro? I tried to follow instructions on the first page, change only one thing in Drivers.au3: win51ip.SP2 to cdrom_ip.5. But it didn't work for me. In old method there is a possibility to compress drivers, place them on CD and then uncompress from CD to the system drive installing from there. Is it possible in new method? Sorry I'm not familiar with AutoIt. Regards, Oleg 2 |
| | |
Sep 5 2005, 01:13 PM Post
#28 | |
| Member ![]() ![]() Group: Members Posts: 179 Joined: 4-November 04 Member No.: 35644 |
Great work, all of you Will now test if this works from USB drives as well, by means of the DriveGetDrive("ALL") instruction. Also, Bashrat, why don't you make this one a sticky and "un-sticky" the "Unlimited number of drivers + keeping the drivers." thread since that one is outdated. This post has been edited by Afterdawn: Sep 5 2005, 01:15 PM |
| | |
Sep 5 2005, 03:43 PM Post
#29 | |
| Member ![]() ![]() Group: Members Posts: 179 Joined: 4-November 04 Member No.: 35644 |
Yes yes it works like a charm! Now I've got all my applications / hotfixes, tweaks ánd all my drivers on my 2GB USB flashdrive! Thanks to all of you! Here is my modified auto-it script file btw: CODE $array = DriveGetDrive("ALL") For $item=1 to Number($array[0]) $srcPath = $array[$item] & "\drivers" If FileExists($srcPath) Then ProcessSetPriority("setup.exe", 0) Run($srcPath & "\WatchDriverSigningPolicy.exe") ProcessWait("WatchDriverSigningPolicy.exe") RunWait($srcPath & "\SetupCopyOEMInf.exe " & $srcPath) ProcessClose("WatchDriverSigningPolicy.exe") ProcessSetPriority("setup.exe", 2) Endif Next FileDelete(@WindowsDir & "\t39.au3") Note that there are a few things different here: - All used drive letters will be searched for a directory called \drivers - It assumes that WatchDriverSigningPolicy.exe and SetupCopyOEMInf.exe are in this directory - These two files are not deleted, only the auto-it script file (which in my case is called t39.au3 in the Windows directory) One more thing: When you're installing Windows XP and you are at the partitioning part of the Setup (the only part which isn't unattended in my case), you should be able to see your flashdrive already. This way you can check whether it shall be accessible at the t-39 minute stage. The used filesystem (FAT or NTFS) isn't of any importance. This post has been edited by Afterdawn: Sep 6 2005, 08:25 AM |
| | |
Sep 5 2005, 04:15 PM Post
#30 | |
| Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 976 Joined: 19-August 04 Member No.: 28204 |
glad to hear it works. one of the great things about the autoit aspect of this method is that its so customizable. enjoy! |
| | |
Sep 6 2005, 01:14 AM Post
#31 | |
| Powered by Windows Embedded ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 752 Joined: 3-January 04 From: Underworld Member No.: 11874 OS: XP Pro x86 | QUOTE (Afterdawn @ Sep 5 2005, 03:43 PM) Note that there are a few things different here: - All used drive letters will be searched for a directory called \drivers - It assumes that WatchDriverSigningPolicy.exe and SetupCopyOEMInf.exe are in this directory - These two files are not deleted, only the auto-it script file (which in my case is called t39.au3 in the Windows directory) Thanks for your own version of the script. It's more versatile to search for drivers in a directory in ALL used drive letters rather than specifing CDROM or FIXED. This post has been edited by Bilou_Gateux: Sep 24 2005, 03:26 AM |
| | |
Sep 8 2005, 10:13 AM Post
#32 | |
| MIS Support Manager Group: Members Posts: 22 Joined: 15-July 05 From: El Reno, OK Member No.: 64513 |
I'm having a problem where SetupCopyOEMInf.exe does not finish running before Setup starts driver detection. It gets about halfway through and then detection kicks in during integration. It still finishes, but I don't know if I'm losing a few drivers or not. Is there something I can do about this?
|
| | |
Sep 8 2005, 12:23 PM Post
#33 | |
| Ditchy McAbandonpants ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 946 Joined: 27-January 04 Member No.: 13226 |
Ive actually thought about this (may be why I havent tested it out yet) but I was looking into 7zipping all the files and extracting them and running the commands, but the problem would be if setup starts before it finishes.
|
| | |
Sep 17 2005, 02:07 PM Post
#34 | |
| Newbie Group: Members Posts: 12 Joined: 23-January 05 From: New Delhi Member No.: 41814 |
Thnx for providimg this nice guide and to all for their inputs.. I am going to make UXPCD withthis methods. I am compressing drivers using this method (http://www.msfn.org/board/index.php?showtopic=35869) , I hope it will not create any problem..
|
| | |
Sep 21 2005, 11:48 AM Post
#35 | |
| Follow the rules please :-) Group: Patrons Posts: 6780 Joined: 14-November 03 From: Bangalore, India Member No.: 9470 | |
| | |
Sep 24 2005, 03:57 AM Post
#36 | |
| Powered by Windows Embedded ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 752 Joined: 3-January 04 From: Underworld Member No.: 11874 OS: XP Pro x86 |
*** removed ***
This post has been edited by Bilou_Gateux: Oct 5 2005, 08:44 AM |
| | |
Sep 30 2005, 04:56 PM Post
#37 | |
| Group: Members Posts: 2 Joined: 6-September 05 Member No.: 71939 |
I tried this method for a BroadCom 57xx network interface card and it failed. Although it did try to install it evidenced by the yellowed out Ethernet Controller unter network device in the device manager -- that it would not do before. It is the Dell download R87461.exe where I got the driver. What else can I do to get this NIC installed ? Is it a new Microsoft driver signing issue or what ? Thanks. Bob.Rein@FAA.GOV |
| | |
Oct 1 2005, 05:31 PM Post
#38 | |
| Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 976 Joined: 19-August 04 Member No.: 28204 | QUOTE (BobRein @ Sep 30 2005, 06:56 PM) It is the Dell download R87461.exe where I got the driver. Did you extract the files form the download? this method looks for the INF file... |
| | |
Oct 2 2005, 12:32 PM Post
#39 | |
| aka Wim Leers Group: Patrons Posts: 2214 Joined: 29-October 03 From: Hasselt, Belgium Member No.: 8748 OS: none |
Stickied! |
| | |
Oct 4 2005, 11:21 AM Post
#40 | |
| Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 879 Joined: 28-June 04 From: Eerbeek Member No.: 23554 OS: XP Pro x86 |
Rewritten the program. It's now even easier! run autoit3.exe and presetup.au3 from cd (no need for copying to system32 folder anymore): i386\WinNT.sif CODE [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 presetup.au3)))" $OEM$\: CODE autoit3.exe presetup.au3 SetupCopyOEMInf.exe WatchDriverSigningPolicy.exe $OEM$\presetup.au3 CODE ProcessSetPriority("setup.exe",0) Run(@ScriptDir & "\WatchDriverSigningPolicy.exe") ProcessWait("WatchDriverSigningPolicy.exe") RunWait(@ScriptDir & "\SetupCopyOEMInf.exe Drivers") ProcessClose("WatchDriverSigningPolicy.exe") ProcessSetPriority("setup.exe",2) CD-Layout: QUOTE ├───$OEM$ │ └───Drivers │ ├───C-Media CMI8738 6.39 │ └───Laptop │ │ ├───Infared 12.6 │ │ └───Touchpad │ ├───Medion SAA7134 2.3.1.0 │ ├───Monitor │ │ └───AL712 │ ├───nVidia ForceWare 77.72 │ └───Samsung ML-1210 │ AutoIt3.exe │ PreSetup.au3 │ SetupCopyOEMInf.exe │ WatchDriverSigningPolicy.exe └───I386 winnt.sif Thanks for info idle.newbie This post has been edited by hp38guser: Oct 9 2005, 04:19 PM |
| | |
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 06:28 AM |