PDA

View Full Version : Update driver action


TimCarroll
07-10-2002, 01:28 PM
One of the things I need to do with my installer is update existing PnP drivers on the system. There's an API that does this for me in the Windows DDK:

UpdateDriverForPlugAndPlayDevices

This will take my INF file and process it. This seems the right thing to do because many of the driver paths that need updating vary from system to system, and Microsoft's Setup exe knows how to deal with this.

To do this right now, it appears I need to write an external EXE that I can call from within my SF6 installer. I'd prefer to have an action similar to CreateService that just lets me provide the parameters and have the installer do the work.