IPB

There is 2 page(s)  1 Page : 2 Next page 
 
> Script: Vista Driver Packs
 
 DaveXP
post Dec 16 2008, 02:01 AM
Post #1


Frequent Member
***

Group: Members
Posts: 196
Joined: 11-October 08
Member No.: 19,191


United States


Hi all,

Here is a script that downloads and installs Vista driver packs from http://forum.driverpacks.net/.

The scripts allows you to filter drivers that should be or should not be integrated with peimg.exe.

You need to install WAIK as a prerequisite.

Unfortunately Hardware Detection in VistaPE doesn't work for me, it unloads some correctly loaded drivers. So I also added an option to "press END" at the Hardware Detection Dialog automatically (but you have to two seconds to press SPACE in case you need it).

Disclaimer: I have only tested some drivers with my hardware configuration, and it works well for me. But it might be different in your case. If you have any questions regarding a driver, please post a question in the ryanvm forum.

Attached File  DaveXP_peimg_driver.7z ( 249.1K ) Number of downloads: 22


Dave
Go to the top of the page
 
 
 DaveXP
post Dec 16 2008, 06:55 AM
Post #2


Frequent Member
***

Group: Members
Posts: 196
Joined: 11-October 08
Member No.: 19,191


United States


Since the forum is still broken.

Here is the script through an external site:

[link removed, forum works again]
Reason for edit: codebox used, and Thank you DaveXP
Go to the top of the page
 
 
 MichaelZ
post Dec 16 2008, 11:59 AM
Post #3


Frequent Member
***

Group: Advanced user
Posts: 175
Joined: 8-March 07
From: Braunschweig, Germany
Member No.: 4,049


Germany


Hi Dave XP,

probably you could read the location of WAIK from VistaPE configuration file. After a Read_ENV you can use the variable %WAIKDir%.

When I modified the script WIMMaster, I suggested NightMan to have such a variable in situations when VistaPE is built from DVD as source but WAIK is also present. It will be set in 01-preconfig.script. Using this variable reduces the places to define where WAIK has been put.

Many Greetings
MichaelZ
Go to the top of the page
 
 
 DaveXP
post Dec 16 2008, 12:12 PM
Post #4


Frequent Member
***

Group: Members
Posts: 196
Joined: 11-October 08
Member No.: 19,191


United States


Yes that would make sense. Thanks. I am also interested to hear whether this kind of scripts could be useful.

Cheers,
Dave
Go to the top of the page
 
 
 Adam_W
post Dec 16 2008, 06:31 PM
Post #5





Group: Members
Posts: 8
Joined: 7-February 08
Member No.: 13,085


Canada


I think this is a great post and program, thanks for sharing
Go to the top of the page
 
 
 MichaelZ
post Dec 17 2008, 10:05 AM
Post #6


Frequent Member
***

Group: Advanced user
Posts: 175
Joined: 8-March 07
From: Braunschweig, Germany
Member No.: 4,049


Germany


Hi DaveXP,

I get an error using WinBuilder 075 beta 5A extrating PEIMGdrivers.bat:
The archive was created with a different version of ZLBArchive (v1204262550)

Can you post PEIMGdrivers.bat please.

Many Grettings
MichaelZ
Go to the top of the page
 
 
 DaveXP
post Dec 17 2008, 10:44 AM
Post #7


Frequent Member
***

Group: Members
Posts: 196
Joined: 11-October 08
Member No.: 19,191


United States


Ok, try this link:

[EDIT: removed link, since attachments work again]


Dave

PEIMG.BAT
CODE
@ECHO OFF

SETLOCAL ENABLEDELAYEDEXPANSION

SET PEIMGDIR=%1
SET DRIVERDIR=%2
SET TARGETDIR=%3
SET FINDSTR=%4

ECHO PEIMGDIR=%PEIMGDIR%
ECHO DRIVERDIR=%DRIVERDIR%
ECHO TARGETDIR=%TARGETDIR%

IF [%FINDSTR%]==[] GOTO NOPIPE

SHIFT
SHIFT
SHIFT
SHIFT

:LOOP
SET TEMP="%1"
SET TEMP=%TEMP:|=^|%
CALL :DEQUOTE TEMP
SET FINDSTR=%FINDSTR:|=^|% %TEMP%
SHIFT
IF [%TEMP%] == [] GOTO ENDLOOP
GOTO LOOP
:ENDLOOP

SET FINDSTR="%FINDSTR%"
SET FINDSTR=%FINDSTR:|=^|%
CALL :DEQUOTE FINDSTR

ECHO FINDSTR=%FINDSTR%

@ECHO ON
FOR /F "TOKENS=*" %%G IN ('DIR /S /B %DRIVERDIR%\*.INF ^| %FINDSTR%') DO (CALL :PROCESSDRIVER "%%G")
GOTO ENDBAT

:NOPIPE
@ECHO ON
FOR /F "TOKENS=*" %%G IN ('DIR /S /B %DRIVERDIR%\*.INF') DO (CALL :PROCESSDRIVER "%%G")
GOTO ENDBAT


:PROCESSDRIVER
::ECHO %1
%PEIMGDIR%\PEIMG.EXE /INF=%1 %TARGETDIR% /VERBOSE
@ECHO OFF
GOTO :EOF


:DEQUOTE

SET _DEQUOTEVAR=%1
CALL SET _DEQUOTESTRING=%%!_DEQUOTEVAR!%%
IF [!_DEQUOTESTRING:~0^,1!]==[^"] (
IF [!_DEQUOTESTRING:~-1!]==[^"] (SET _DEQUOTESTRING=!_DEQUOTESTRING:~1,-1!
) ELSE (GOTO :EOF)
) ELSE (GOTO :EOF)
SET !_DEQUOTEVAR!=!_DEQUOTESTRING!
SET _DEQUOTEVAR=
SET _DEQUOTESTRING=
GOTO :EOF


:ENDBAT
Go to the top of the page
 
 
 MichaelZ
post Dec 17 2008, 04:09 PM
Post #8


Frequent Member
***

Group: Advanced user
Posts: 175
Joined: 8-March 07
From: Braunschweig, Germany
Member No.: 4,049


Germany


Hi DaveXP,

I could download you script through rapidshare but webget can't load the driver files presently. I tried to manually load them using your above mentioned web site but that's also not possible :-(

Many Greetings
MichaelZ
Go to the top of the page
 
 
 ludovici
post Dec 17 2008, 06:41 PM
Post #9


Frequent Member
***

Group: Advanced user
Posts: 124
Joined: 1-November 07
From: France
Member No.: 11,607


France


Hello DaveXP,

I have a error with your script, when i select all the drivers(But without includes custom drivers and verbose and pause, and Press end for hardware detection) i have this:
strformat - failed to convert [replace] with value [1] to variable : [#2]
Go to the top of the page
 
 
 bpharri2
post Dec 17 2008, 10:25 PM
Post #10





Group: Members
Posts: 1
Joined: 26-August 08
From: USA
Member No.: 17,684


United States


Great script idea, however, I too am receiving the same error as ludovici.

From Log file:

[Success] IF - [http://driverpacks.sytes.net/vistapacks/vista-x86/drivers_x86/Masstorage_x86_810.7z] is not equal to: [] evaluated string: [If,#1,NotEqual,"",Begin]

[Failed] StrFormat - Failed to convert [replace] with value [1] to variable: [#2]
Go to the top of the page
 
 
 
 

There is 2 page(s)  1 Page : 2 Next page
 
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

Collapse

>

  Topic Replies Topic Starter Views Last Action
No new Posts Topic has attachments VistaPE 12 and Virtual PC Additions, Works 100% (minus sound)
15 madhopsman 426 Today, 08:27 AM
Last post by: TheHive
No New Posts Topic has attachments VistaPE - WIMCaptureImage ErrorCode 2
Finalizando VistaPE (MapNetwork Drive.exe)
0 Paulo Figueiredo 18 Yesterday, 10:19 PM
Last post by: Paulo Figueiredo
No new Posts Topic has attachments script layout
visual for VPE
28 twindude 1,490 Yesterday, 02:18 AM
Last post by: twindude
No new Posts Topic has attachments VistaPE and Wireless - Update - 3/5
Work in progress with screenshots
49 TheFro 9,582 Yesterday, 12:10 AM
Last post by: marpszon
No New Posts VistaPE and PointSec
Encounter problem and need advise
2 PJW 112 29th January 2009 - 04:35 AM
Last post by: PJW


 
menu_build_menu( "topicreferrals", new Array( img_item + " http://boot-land.net/foru...s/wb_server.php   4 clicks", img_item + " killhwd   4 clicks", img_item + " the archive was created...n of zlbarchive   2 clicks", img_item + " driverpack sytes   2 clicks", img_item + " vista driverpacks   2 clicks", img_item + " peimg driver pack   2 clicks", img_item + " http://www.dogpile.com/do...=7?_IceUrl=true   2 clicks", img_item + " vista pilotes boot   2 clicks", img_item + " davexp peimg   2 clicks", img_item + " vistape version zlbarchive   2 clicks", img_item + " vistape version zlbarchive   2 clicks", img_item + " vista driverpack script   2 clicks", img_item + " waik integrate driver   1 clicks", img_item + " winbuilder findstr   1 clicks", img_item + " findstr freedos   1 clicks", img_item + " vistape +the archive wa...n of zlbarchive   1 clicks", img_item + " http://search.icq.com/sea...86&ch_id=tb   1 clicks", img_item + " http://www.dogpile.com/do...=7?_IceUrl=true   1 clicks", img_item + " a drivers boot   1 clicks", img_item + " pt vista   1 clicks", img_item + " erpacks vistape   1 clicks", img_item + " archive was created wit...n of zlbarchive   1 clicks" ) );

RSS "Boot-Land.net", "WinBuilder" Lo-Fi Version Time is now: 31st January 2009 - 08:30 PM