Topic: Injecting drivers into customized WinPE wim file  (Read 4252 times)

Injecting drivers into customized WinPE wim file
« on: September 26, 2012, 04:13:46 PM »

LikLaME

  • Apprentice
  • *
  • Date Registered: Sep 2012
  • Posts: 3
Hi,
I have succesfully compiled wim file using winbuilder 082.
I needed to do some small modifications manually and added acronis into it.
Now I would like to add some drivers but dism won't work saying that it does not support Vista error 50...
Also I have tried your script to add drivers with into my image with no success.
I really need dism working as I will have to regulary inject missing drivers into it.
Only way to do it now is to create wim file using WinBuilder with new drivers and then modify it and add acronis.
It is time consuming.
Please help  :confused:
Jan

Re: Injecting drivers into customized WinPE wim file
« Reply #1 on: September 26, 2012, 08:53:22 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Only way to do it now is to create wim file using WinBuilder with new drivers and then modify it and add acronis.
It is time consuming.

Welcome Jan,

There is certainly another way to do it but this is how I do it also, by rebuilding.
but with the development, I no longer count buildings  :wink:

if you have Win7 SP0 as Source (Not SP1), you can do it like this :
- Use the Mount script  in utils folder and mount the Target PE in %TargetDir% and the source.
- Add your drivers with driver integration and Acronis if it is in RAM.
- Unmount Target PE (Unmount source is optional) with Mount script.
- Create your new ISO (create ISO script) or Copy to Usb.

:cheers:

Re: Injecting drivers into customized WinPE wim file
« Reply #2 on: September 26, 2012, 09:03:59 PM »

LikLaME

  • Apprentice
  • *
  • Date Registered: Sep 2012
  • Posts: 3
Hi ChrisR,
Thanks to get back to me so quickly...

Unfortunatelly I am using Win7 ultimate SP1 x86 as a source.
So according to your suggestion if I will use Win7 SP0 x86 as a source, it will work? I mean driver integration script...
Anyway, Is there a way to make dism work as it would be much easier for me?
The way I use the wim file is that after build it is transfered to the server for network booting and to USB's for local boot.

Thanks in advance
Jan

Re: Injecting drivers into customized WinPE wim file
« Reply #3 on: September 26, 2012, 09:15:17 PM »

LikLaME

  • Apprentice
  • *
  • Date Registered: Sep 2012
  • Posts: 3
NOTE:
I am still in the middle of testing...
I just spotted that if I just build a WIN file using WinPE builder it will let me inject drivers into it using dism.
I have changed few options in winbuilder(disabled few scripts and force it to use imagex) and I haven't modified it yet.
But it works now...  :smile:
I will do more testing and come back with results...

Re: Injecting drivers into customized WinPE wim file
« Reply #4 on: September 26, 2012, 09:35:18 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
During building, no worries to integrate new drivers with Dism, Driver integration script do it like this.

Otherwise after building, you can use the Mount script to mount your wim (Target) in mount point %BaseDir%\Mount\%ProjectName%\Target and integrate your drivers manually by dism
Then just unmount and transfered the wim file to your server.
 
With SP1, to use driver integration, you must mount boot.wim in %TargetDir%, what is possible only if Target folder is empty (wimount driver requests it).

Good customization of your Win7PE.
Have fun  :smile:

 

Powered by EzPortal