MSFN Forum: Unlimited number of drivers + keeping the drivers. - MSFN Forum

Jump to content


  • 5 Pages +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • This topic is locked

Unlimited number of drivers + keeping the drivers. Exception: MassStorage drivers. Rate Topic: -----

#81 User is offline   Scrapple 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 19-June 05

Posted 16 July 2005 - 05:01 AM

Hi,

First of all: This forum is great! Lots of "guru's" here!

Thanx very much for this SetupCopyOEMInf method!!!

@Pyron/Shalti
Could you put the scripts back online and possibly the sourcecode for the .exe? I want to study how this is put together, instead of just running it.

Maybe I should've made a new thread for the following questions...? I don't know for sure...

Questions:
----------------
It's a pity that this method doesn't work for massstorage drivers; as I understand these are a special kind. But could anyone explain me where the massstorage drivers are actually put on disk and what registry settings are made...?

So what I'm trying to grasp is how windows finds these ide/sata/raid/scsi drivers...

I know a lot of people here ain't fond of/don't use sysprep, which I understand, but it has a nice functionality called the buildmassstorage section, which is prepopulated with the -bmsd switch... and when the reseal is working, it takes a long time (somehow because of the large massstorage section)

Can you guys explain to me in detail what is done at that time? Or give me some link(s).


I've searched so long for these answers, but I can't find it anywhere... :-(

Thanx a lot!


P.S. one more question: would it be possible to somehow check, before pnp enumeration, what hardware is actually in the machine?

For example by running a tool that lists all hwid's and then finds the drivers for those hwid's recursively within a BTS-drvpack-folders residing on a cd/hdd/network and "SetupCopyOEMInf-ing" only those drivers?

Anyone?

Thanx again!


#82 User is offline   schalti 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 22-July 04

Posted 18 July 2005 - 08:44 AM

Scrapple, on Jul 16 2005, 05:01 AM, said:

@Schalti
Could you put the scripts back online

I want to study how this is put together, instead of just running it.


I will not put the scripts back online, the executable is way faster and also runs on Windows 2000 without any problem.

Posted on June 1, 2005:
If you want to create your own utility it's a matter of scanning a directory structure for INF-Files and use the API call SetupCopyOEMInf (which is inside setupapi.dll) on every INF-File.

Scrapple, on Jul 16 2005, 05:01 AM, said:

I know a lot of people here ain't fond of/don't use sysprep, which I understand, but it has a nice functionality called the buildmassstorage section, which is prepopulated with the -bmsd switch...  and when the reseal is working, it takes a long time (somehow because of the large  massstorage section)

Can you guys explain to me in detail what is done at that time? Or give me some link(s).


All available drivers in the [SysprepMassStorage] Section of sysprep.inf are put in the registry such as they will be loaded on next reboot. You can also put non-storage drivers in this section :thumbup , for example to load usb keyboard and mouse drivers which will often be a problem using sysprep.

Scrapple, on Jul 16 2005, 05:01 AM, said:

P.S. one more question:  would it be possible to somehow check, before pnp enumeration, what hardware is actually in the machine?

For example by running a tool that lists all hwid's and then finds the drivers for those hwid's recursively within a BTS-drvpack-folders residing on a cd/hdd/network and "SetupCopyOEMInf-ing" only those drivers?


You could do this using devcon.exe, a tool from M$ that will list all devices in a PC.

DevCon.exe

I don't know however if it is possible to do it before pnp enumeration.

:blushing:

#83 User is offline   a06lp 

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

Posted 20 July 2005 - 09:19 PM

Ok, I don't fully understand this tool, but help me out here.

I use Bashrat's Drivers-From-CD method (outlined here) to install my drivers now.

My basic structure is like this:

Quote

i386
$OEM$
...|--Drivers
......|-- Laptop
.........|-- Audio
.........|-- Graphics
.........|-- Modem
......|-- PC
.........|-- Audio
.........|-- WLAN


And I use the 4 files listed in the above-linked post.


Will the tool in this post help me not need all of that? If so, what steps are needed to use this tool?

Or am I totally misunderstanding the purpose of this new tool?

This post has been edited by a06lp: 20 July 2005 - 09:20 PM


#84 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 939
  • Joined: 28-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 21 July 2005 - 04:03 AM

Scrapple, on Jul 16 2005, 12:01 PM, said:

P.S. one more question:  would it be possible to somehow check, before pnp enumeration, what hardware is actually in the machine?

For example by running a tool that lists all hwid's and then finds the drivers for those hwid's recursively within a BTS-drvpack-folders residing on a cd/hdd/network and "SetupCopyOEMInf-ing" only those drivers?

Anyone?

Thanx again!
<{POST_SNAPBACK}>


Why don't you want to have all your drivers get recongnized by Windows? It's wonderful and only the setup information is passed to the Windows. No files are copied over in some way. '
The way I use the AutoIt script all drivers stay on CD. Theoraticly I could add a lot more drivers for hardware that doesn't even exist on my system. Then when I change my Hardware Configuration Windows will detect new hardware and ask for my driver cd. You also could use a network path, it's the same principe :)

I still think this should be the methode for most of Basrat's driver packs B)

#85 User is offline   Scrapple 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 19-June 05

Posted 21 July 2005 - 10:36 AM

hp38guser, on Jul 21 2005, 12:03 PM, said:

Why don't you want to have all your drivers get recongnized by Windows? It's wonderful and only the setup information is passed to the Windows. No files are copied over in some way. '
The way I use the AutoIt script all drivers stay on CD. Theoraticly I could add a lot more drivers for hardware that doesn't even exist on my system. Then when I change my Hardware Configuration Windows will detect new hardware and ask for my driver cd. You also could use a network path, it's the same principe  :)

I still think this should be the methode for most of Basrat's driver packs B)



Well, because I'm not using unattended (scripting) method, but the sysprep (imaging) method. The company I work for has very heterogeneous hardware, but the unattended installation method is just too slow...

So what I'm trying to think of is a way NOT to re-image every single time I run into a (new) machine for which a massstorage driver is not yet incorporated in the image. As you know, massstorage drivers need to be present for the machine to even boot.

So my goal is to update the drivers(packs) on a network-share regularly and to have a regularly updated BartPE CD (with the latest masstorage/nic drivers) boot the machine and download/restore the universal image from a mounted image/drivers/scripts network-share to the harddisk after partitioning it. Then mount that local partition and detect all hwids of every piece of hardware that's actually in the machine. After that search for only the needed drivers and custom scripts on the netshare and incorporate them into that still unbooted hdd partition.

Incorporating the massstorage drivers into the deployed partition before Windows' boots from it, seems to be the most difficult task, but I think it's possible to script copying driver-file's to and editing the registry of the hdd-partition from within a running BartPE (pxe or CD).

Now, that's why my original question was: What exactly do I put/change in the registry and where do I put the driver files of the massstorage driver in the deployed hdd NTFS filesystem BEFORE windows is able to boot from it?

.....
Running "sysprep -reseal", AFTER "sysprep -bmsd", does exactly what I need (I think), but I need to know WHAT sysprep actually does to the registry and what filecopying sysprep performs on its NTFS boot-partition for windows to be able to boot from it after deployment (on a different machine which possibly needs the newest scsi/raid/sata driver), because I CAN'T run sysprep again BETWEEN capturing and deploying; BartPE is evidently loaded at that time (and not the deployed os on hdd I'm trying to target for doing this on)
.....


I know it all sounds pretty complicated, but I hope you get my idea. Let me know what you think how this can be done... preferably: "a better/easier way"... :D

Remember: regular re-imaging and/or unattended installs are NO OPTIONS for us :}

This post has been edited by Scrapple: 21 July 2005 - 11:10 AM


#86 User is offline   Bfunny27 

  • Group: Members
  • Posts: 1
  • Joined: 20-July 05

Posted 21 July 2005 - 11:07 AM

:thumbup

Thanks everyone these tools are really helpful!

#87 User is offline   JuMz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 09-August 04

Posted 28 July 2005 - 09:57 AM

Could someone who is using Method 2, pyron's method + keeping the drivers post their presetup.cmd

I am quite confused in how to make BOTH drivers install during and install and after install to work.....

Can I just simply replace the line with pyron's setdevicepath with this new setupcopyoeminf and it will work during GUI install and keep the drivers during regular windows install?

This post has been edited by JuMz: 02 August 2005 - 02:54 PM


#88 User is offline   JuMz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 09-August 04

Posted 01 August 2005 - 06:55 PM

anyone?

#89 User is offline   osborned_rcc 

  • MIS Support Manager
  • Group: Members
  • Posts: 22
  • Joined: 15-July 05

Posted 19 August 2005 - 11:29 AM

Is anyone ever going to write a full guide on how to use this SetupCopyOEMInf method? Maybe post it on the guide site?

#90 User is offline   Oleg_II 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 679
  • Joined: 06-August 04

Posted 28 August 2005 - 04:01 AM

Sorry, if it was answered before but I can't find a clear description of using this tool also. I wonder if pyron's modified setup.exe needed for this method? I'm asking because using his set of files seems to influence running svcpack.inf: when I place a .cmd or .exe file in SVCPACK folder and add it in svcpack.inf it doesn't run, but it runs when I use "a clean" installation without modified setup.exe :(
Best regards,
Oleg 2

#91 User is offline   a06lp 

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

Posted 28 August 2005 - 06:10 PM

osborned_rcc, on Aug 19 2005, 01:29 PM, said:

Is anyone ever going to write a full guide on how to use this SetupCopyOEMInf method? Maybe post it on the guide site?
<{POST_SNAPBACK}>


http://www.msfn.org/...showtopic=51406

Enjoy. :whistle:

#92 User is offline   Xavierxray 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 30-August 05

  Posted 30 August 2005 - 04:32 AM

And this can be used to install missing NIC drivers for the setup program in RIS?
Let me be a bit more spesific...

When I run an image, I seem to be missing some NIC drivers and therefor I can get all the primary stuff done (IP, username input etc.) but it won't start the actuall installation of the OS.
This problem is solvable in other ways but it would seem that the method is simply to microsoft (read: Weird) for me to understand.....
This program and scripts could help me achive what I need much simpler but I do need to know if it gets loaded in before the setup begins so that the drivers can be used when "Detecting hardware" is shown...

#93 User is offline   Bilou_Gateux 

  • Powered by Windows Embedded
  • PipPipPipPipPip
  • Group: Members
  • Posts: 766
  • Joined: 03-January 04

Posted 01 September 2005 - 07:30 AM

@Xavierxray
No.

@all
Try Drivers From CD (AutoIt Method), A newer, better way. =)

and you can get help from the author: hp38guser.

This post has been edited by Bilou_Gateux: 01 September 2005 - 07:31 AM


#94 User is offline   straycat19 

  • Group: Members
  • Posts: 1
  • Joined: 14-August 05

Posted 21 September 2005 - 02:30 PM

I made an xp install cd using nlite, ryanvm cab and driver packs. Everything works fine except when setup is installing devices the SetupcopyOEMInf.exe asks about 200 times for windows logo testing continue/don't install. What did I do wrong? How can I fix it? The first cd I made works fine but with a different version of xp than this one, though that shouldn't make any difference.

#95 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 02 October 2005 - 12:14 PM

It seems this topic has been superseeded by another one.

Topic closed to avoid confusion.

Share this topic:


  • 5 Pages +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • This topic is locked

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 - 2013 msfn.org
Privacy Policy