Topic: Easy Way to Create customized Driver Packs

Hello,
I want to create a customized DriverPack for the Scanners in my company.
Is there an Tool doing that for me? Finding the drivers is not the problem.

regards
Daniel

Re: Easy Way to Create customized Driver Packs

http://forum.driverpacks.net/viewtopic.php?id=5

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Easy Way to Create customized Driver Packs

Hi,

thanks for the tutorial.

Unfortunately my Driverpack does not work.
I did everything stated in the tutorial.
Base SAD says "Location could not be found".
My Driver is packed in *.cab files. I also tried to extract them and put them in the folder instead of the cab-files.

Strange thing is when I install the driver manually in windows by browsing to the folder in SAD that includes the inf file as well as the extracted files this works.

Could you please have a look at the driverpack and check if I missed something about the structure.

DP_WICustom_wnt5_x86-32_09.09.14.1.7z contains:
D
  3
    S
      E
        inf and all unpacked cab files

regards
Daniel

Re: Easy Way to Create customized Driver Packs

rename to DP_WICustom_wnt5_x86-32_0909141.7z

link to driver you used please?

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Easy Way to Create customized Driver Packs

http://www.epson.com/cgi-bin/Store/supp … d=46253280
-->TWAIN Driver and EPSON Scan Utility v2.65A

thanks for Support

regards
Daniel

Re: Easy Way to Create customized Driver Packs

did you try properly nameing the file?

What is the HWID of the device you are testing with?

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Easy Way to Create customized Driver Packs

Renaming didn't have any effect as the fodler structure was correctly applied in the SAD (even with the wrong filename).
I'll check on the HWID right now.

Re: Easy Way to Create customized Driver Packs

The HWID is:

USB\VID_04B8&PID_0121\5&19AD5A7A&0&6                        : EPSON Scanner

Re: Easy Way to Create customized Driver Packs

does it install if you use SAD, dp_inst_tool.cmd?

This driver is a mess...
I was reading the inf file and this is one of the sloppyest drivers i have ever seen.
Section names don't match, unreferenced sections exist etc...

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Easy Way to Create customized Driver Packs

no it does not install via SAD dp_install_cmd. SAD usually works great just this driver won't work.

It is really a strange behavior as it won't even work if I put all the files (even the setup.exe) in the driverpack and keep the original structure 1:1.

Re: Easy Way to Create customized Driver Packs

the best thin to do is probably use / create a pack ini and call setup.exe.

It will install if setup runs right?

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Easy Way to Create customized Driver Packs

If I do it like that will Base trigger the driver install itself?
I'm asking because I already tried writing an autoit skript. This one installed the softwareupdate the driver so the admin had to go to the place and click through the windows-driver install manually.

Re: Easy Way to Create customized Driver Packs

yes if you put a pack INI in with the proper commands it will run setup...

docs for the pack ini are in the DriverPacks BASE DOCs folder.

Lets use mr_smartepants work as a perfect example from the graphics pack A

[DriverPack]
platform	= "wnt5_x86-32" 
name		= "Graphics A"
; version 906 
; includes BartPE Code
rootDir		= "D\G"
; OPTIONAL
classes		= "Display"
driverCount	= 3
decompSize	= 162
compSize	= 70

--snip--

--snip--

[N1]
; BartPE Code 
ms_count	 	= 1
ms_1_tag 	= "N1_nv4"
ms_1_sysfile 	= "nv4_mini.sys"
ms_1_exc_skipIfOS="wxp,w2k3"
; REQUIRED
exc_count		= 2
; OPTIONAL
exc_1_tagFiles	= 2
exc_1_tagFile1	= "%SystemDrive%\nvidia.ins"
exc_1_tagFile2	= "%SystemRoot%\system32\drivers\nv4_mini.sys"
exc_1_+hwids	= 0
exc_1_-hwids	= 0
exc_1_+infFiles	= 1
exc_1_+infFile1	= "%DPSROOT%\D\G\N1\*.inf"
exc_1_-infFiles	= 0
exc_1_commands	= 2
exc_1_command1  = "regedit /s %systemdrive%\nvidia.ins" 
exc_1_command2  = "cmd.exe /c DEL /F /S /Q %SystemDrive%\nvidia.ins"

let's apply your layout to that shining example

DP_WICustom_wnt5_x86-32_09.09.14.1.7z contains:
D
  3
    S
      E
        inf and all unpacked cab files

Let's assume you want to trigger the setup.exe when the local machine matches a HWID with a HWID contained in one of the four supplied inf files.

[DriverPack]
platform	= "wnt5_x86-32" 
name		= "WICustom"
; version 909 
rootDir		= "D\3\S"
; OPTIONAL
classes		= "Imaging devices"
driverCount	= 
decompSize	= 
compSize	= 

[E]
exc_count		= 1
; All tag files must exist or this will not execute!
exc_1_tagFiles	= 2
; Select a tag file that will only exist if the hardware was detected and the basic driver files were installed...
exc_1_tagFile1	= "%SystemRoot%\system32\Setup\escndvrs.dll"
; according to es3c.inf the target folder is "32" Layout.inf says that is system32\Setup (not confirmed don't have hardware)
;
; Make sure the setup file exists
exc_1_tagFile2	= "%DPSROOT%\D\S\E\Setup.exe"
exc_1_+hwids	= 0
exc_1_-hwids	= 0
; If the HWID is not found in the inf(s) this will not execute!
exc_1_+infFiles	= 4
exc_1_+infFile1	= "%DPSROOT%\D\S\E\Es3c.inf"
exc_1_+infFile2	= "%DPSROOT%\D\S\E\Es4f.inf"
exc_1_+infFile3	= "%DPSROOT%\D\S\E\Es41.inf"
exc_1_+infFile4	= "%DPSROOT%\D\S\E\Es43.inf"
exc_1_-infFiles	= 0
exc_1_commands	= 1
exc_1_command1  = "cmd.exe /c %DPSROOT%\D\S\E\Setup.exe"

or somthing close to that

make sure that you put your DriverPack_WICustom_wnt5_x86-32.ini
in the same folder as you have your \D\ folder
so that when it is extracted your D is written to the same folder as the DriverPacks D and your WICustom.ini is extracted to SystemDrive with the other DriverPacks ini files wink

D
DriverPack_WICustom_wnt5_x86-32.ini
  3
    S
      E
        infs
        all packed cab files
        setup.exe
        LIB and all subfolders it contains

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.