otac0n Posted December 4, 2007 Posted December 4, 2007 (edited) Is it possible to install drivers files for devices (Such as the Intel 1A38 networking component) from the command line using the Driver's INF files?If I know the PNP ID of the device I'm trying to install, it should be as simple as calling RunDLL32 with the right parameters, using the SetupAPI, or the DI framework right?Eh?Any help would be much appreciated.Thanks. Edited December 4, 2007 by otac0n
gosh Posted December 4, 2007 Posted December 4, 2007 Did someone say Inf?Yes, you can. You're on the right track. First you need to know what PNP ID. You can get that by simply removing the device in devman and rescanning, it'll be listed in setupapi.log. Once you have it you can search your inf directory for "containing text" with the PNP ID. Then copy the .inf and the driver file mentioned to where you want to install. If you put it into the inf folder windows should auto detect the device. If it's not digitally signed, setupapi will copy the inf as oemX.inf (where X is the next available number) to your inf folder. I don't see why you would want to run anything from the command line though, plug and play will auto do everything for you.-gosh
otac0n Posted December 4, 2007 Author Posted December 4, 2007 plug and play will auto do everything for you.So, it will detect when i plop the files in the right folders?I have the .cat security catalogue, .sys files, and .inf files already.This is actually for a large number of brand new systems, so I will be scripting this...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now