| Hello Benedikt,
* On Sun, Aug 19, 2007 at 04:43:35PM +0200 Benedikt Sauter wrote:
 
> Did anybody know how I can pre install libusdrivers?
Have a look into the DDK or WDK:
Preinstalling Driver Files
To preinstall driver files, your device installation application should
follow these steps:
1. On the target system, create a directory for the driver files. If your
device installation application installs an application, the driver
files should be stored in a subdirectory of the application directory. 
2. Copy all files in the driver package from the distribution media to the
directory created in Step 1. The driver package includes the driver or
drivers, the INF file, the catalog file, and so forth. 
3. Call SetupCopyOEMInf (described in Platform SDK documentation),
specifying the INF file in the directory created in Step 1. Specify
SPOST_PATH for the OEMSourceMediaType parameter and specify NULL for the
OEMSourceMediaLocation parameter. SetupCopyOEMInf copies the INF file
for the driver package into the %windir%\Inf directory on the target
system and directs SetupAPI to store the source location of the INF file
in its list of preprocessed INF files. SetupCopyOEMInf also processes
the catalog file, so the PnP manager will install the driver the next
time it recognizes a device listed in the INF file. 
When the user plugs in the device, the PnP manager recognizes the
device, finds the INF file copied by SetupCopyOEMInf, and installs the
drivers copied in Step 2. (For more information about copying INF files,
see Copying INFs.)
(taken from: DDK 3790.1830 Help, Windows DDK/General Driver
Information/Device Installation/Design Guide/Writing a device
installation application)
Also interesting:
http://www.osronline.com/DDKx/install/custom-install_7n53.htm
The key to success is the call to SetupCopyOEMInf().
HTH,
   Spiro.
-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
 |