#156781 - 2006-02-08 01:25 PM
Re: ScanHardware
|
Arend_
MM club member
   
Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
|
So far I can conclude this: 1. Scan with WMI wich devices don't have drivers (code posted earlier). 2. Use WMI to get the DeviceID. 3. Pass the DeviceID to Devcon to remove the HW (this works sucky to say the least) Devcon removes more thn bargained for. 4. Let devcon scan for new HW (this does work nicely), devices get detected and the drivers get installed from the path I've specified in the registry.
So if there is a way that WMI can remove the devices im basically finished although I'd prefer to do everything from withitn Kix/WMI.
Again thanks for your efforts, I apreciate it alot
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 1183 anonymous users online.
|
|
|