Topic: Import Drivers from Host  (Read 2635 times)

Import Drivers from Host
« on: May 30, 2013, 09:01:26 AM »

trashy

  • Code Baker
  • Chef
  • ***
  • The Oven will always be my first Home
  • Location: RedNeck County
  • Date Registered: Feb 2013
  • Posts: 179
Is it possible to Import network drivers only from host? I've been researching this for awhile with no real solution.
I'm running from USB all files extracted to drive, not booting from wim. From a running PE I can install most portable
programs, import drivers etc.. and they'll be saved on next boot. I don't want to install a bunch of driver packs, it
increases boot time and you still end up missing drivers. I'm not worried about audio or video but you must have
net to update antivirus or search for online solutions to problems.

I made this little vbs script for DoubleDriver.

   If MsgBox( _
   " Import Network Drivers from Host ",4132,"Network Driver Import") = 6 Then
   set filesys=CreateObject("Scripting.FileSystemObject")

CreateObject("Wscript.Shell").Run "RunScanner.exe /t 10 /cp /sd /ac /m+ /y ddc.exe b /target:X:\driverbackup",1,true

CreateObject("Wscript.Shell").Run "Dpinst.exe /path X:\driverbackup\Net",1,true

End If

strPath = "X:\driverbackup"

DeleteFolder strPath

Function DeleteFolder(strFolderPath)
Dim objFSO, objFolder
Set objFSO = CreateObject ("Scripting.FileSystemObject")
If objFSO.FolderExists(strFolderPath) Then
   objFSO.DeleteFolder strFolderPath, True

End If

Set objFSO = Nothing

End Function

   If MsgBox( _
   " Configure WIFI if Necessary ",4132,"Network Configuration") = 6 Then
   set filesys=CreateObject("Scripting.FileSystemObject")
   
CreateObject("Wscript.Shell").Run ("""%systemdrive%\Program Files\PENetwork\PENetwork.exe"""),1,true

End If

I'm not to good with script and DoubleDriver or Smart Driver Backup were all I found with a simple command line option. The only real problem is you're still saving all non microsoft drivers not just network drivers. A command
line option or script to save net drivers only would be a great, automating the installation isn't a problem.

Any help would be greatly appreciated
Thanks Tom

Re: Import Drivers from Host
« Reply #1 on: May 30, 2013, 11:57:37 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
I think Driver Import PE now supports Win7: http://www.kare-net.de/DriverImportPE-e.html

Regards,
Galapo.

Re: Import Drivers from Host
« Reply #2 on: May 31, 2013, 02:58:50 AM »

trashy

  • Code Baker
  • Chef
  • ***
  • The Oven will always be my first Home
  • Location: RedNeck County
  • Date Registered: Feb 2013
  • Posts: 179
I think Driver Import PE now supports Win7: http://www.kare-net.de/DriverImportPE-e.html

Regards,
Galapo.

Thanks Galapo. I'm not new to PE, I've seen you around for a long time, you've made some major contributions.
However I am new to scripting.

The previous version 1.3 was free but doesn't support win7pe. Works great in livexp and it's a fantastik  piece of software. Version 1.5 does support 7PE but I don't believe It's Freeware, and I wanted something I could share FREELY. I've been leeching long enough and I thought it was time to make a contribution of my own.

I've got a working script for DoubleDriver including links to BooZet website so I don't think there will be any question of legality. It will Import network driver in just a couple minutes. I,m having a little problem with the 7zip extraction path and I'll post the plugin as soon as I work out this last bug.

Thanks again for all your contributions

Re: Import Drivers from Host
« Reply #3 on: May 31, 2013, 05:26:52 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
That's right, the new version is not free.

So if you are wanting something to distribute freely, then this is not it.

Whether the RunScanner method will work -- drivers can be complex things, especially when there is coinstaller stuff. DoubleDriver has the option to backup from non-booted system. Last update was August 2010, though.

Regards,
Galapo.

Re: Import Drivers from Host
« Reply #4 on: May 31, 2013, 07:37:13 AM »

trashy

  • Code Baker
  • Chef
  • ***
  • The Oven will always be my first Home
  • Location: RedNeck County
  • Date Registered: Feb 2013
  • Posts: 179
I've got it figured out. Can Import Network Drivers only in just a couple minutes. The script I wrote uses runscanner and dpinst and finishes off opening PEnet config.Will post the plugin for testing, I've only tried it on Win7PE.
Double Driver is configured to backup all non Microsoft drivers but I'm only Installing network. If there was a way to backup network only I could reduce time more.

Thanks

 

Powered by EzPortal