Topic: Injecting Drivers  (Read 4183 times)

Injecting Drivers
« on: June 10, 2012, 03:32:13 PM »

bookie56

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 6
Hi again :smile:

OK! Said I would have more questions.......lol

I don't seem to be able to inject any drivers.... I have unpacked all the drivers that you can download from driverpacks and created directories for each of them....I point winbuilder to them and the script seems to run for a few seconds and then stops?!

Logically one doesn't want to inject to much into the actual wim file because of that loading into ram, but it would be nice to have extras on the cd/usb etc.

What am I missing here...... :w00t:

Can one inject the important drivers into the wim and have the others on the cd? And how do I go about that?

Sorry for beginner questions.....lol


bookie56

bookie56

Re: Injecting Drivers
« Reply #1 on: June 11, 2012, 03:40:36 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi bookie56,


Most Windows 7 drivers are already available in Win7PE_SE  :smile:.
you can of course added some specific drivers (eg: LAN, WLAN) in your Win7Pe and also integrated driversPacks (eg: chipsets, mass storage) with the Driver Integration script.

But as you said, careful not to inject too many drivers for keeping an acceptable wim file size, for the starting time and the size occupied in RAM.

You can also use the script "Driver Package Installer" which uses DPInst to add drivers to your running PE
This one allows to copy or unpack drivers packages onto your media to the outside of the wim file (Not in Ram).
and load them, if needed, in your running PE.

These 2 scripts allows you to control which ones you want integrated into the WIM and which are available after booting the PE.
This is a personal choice depending on which machine you want to run your PE and your Win7PE use.
Remembering that most Win7 drivers are already included.


Regarding your error, difficult to help you without log.
You can run "Driver Integration" by selecting the "Pause (win7)" checkBox with the "Show process". 
With this, you will have a break at the end of the integration for better see what happens.

Regards,
:cheers:

Re: Injecting Drivers
« Reply #2 on: June 11, 2012, 05:13:47 PM »

bookie56

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 6
Hi ChrisR!
Ok! I will have a look at that as soon I get a moment.

bookie56

Re: Injecting Drivers
« Reply #3 on: July 21, 2012, 10:18:55 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Yeah, this can give you a hard time, and not just beginners.
I'm currently busy with some really crappy driver injection tasks...

Two things that come into my mind:
  • Make sure your driver stuff is complete and you're using a current release. I noticed differences between Double Driver 4.1 and Driver Magician 3.68 (the latter being shareware seems to work better) trying to sort the relevant files out.
  • I tried out several driver scripts, but wasn't content until I was notified of amalux' Auto Driver Import W7 script. I use it for a few (w)lan drivers, it works perfectly. You'll find it in the latest amalux Win7PESE release.
« Last Edit: July 21, 2012, 10:20:21 AM by Mikka »

Re: Injecting Drivers
« Reply #4 on: October 31, 2012, 06:23:18 PM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
I just built my first Win7PE last night and I love it!! I am having the same issue. I am using extracted driver pack files (Lan and Mass only) but my Asus laptop lan driver did not load. It wasn't until I used DISM to inject the drivers into the Win7pe wim did I get a working lan on bootup. I am missing something? The folder on my Winpe iso says DriverPacks and inside that folder lan and Mass. Should there be something else in that folder? Also if I use device manger to manual  point to that DriverPacks\Lan folder, the driver installs fine. So I know it's not my machine but the drivers are not getting loaded on bootup.

Re: Injecting Drivers
« Reply #5 on: November 01, 2012, 10:29:26 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
For Lan, WLan, Mass, I think that it is better to use Driver Integration (dism) for that it is loaded automatically at startup. I use this way for few lan wlan drivers.
I have not tried amalux' Auto Driver Import W7 script, which certainly makes the job.

Re: Injecting Drivers
« Reply #6 on: November 01, 2012, 10:32:54 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
That's what I did and it works great. Question, what index number is the boot.wim? I tried to mount the PE wim with DISM with index 2 and DISM says that index is not in that wim. I mount it with wintoolkit and then use DISM in a command to inject the drivers. I would rather mount, inject and commit unmout in the same cmd.

Re: Injecting Drivers
« Reply #7 on: November 01, 2012, 11:49:05 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
To mount Target PE, you can use Mount script in Utils folder.

Without rebuilding your PE: 
If you have a Win7 SP0 as source, you can use MountPoint=%targetDir% and use also MountSource to use then "Driver Integration script"

With Win7 SP1 source, use MountPoint=%BaseDir%\Mount\%ProjectName%\Target then integrates your driver manually before unmount.

 

Powered by EzPortal