Glenn Patton

Glenn Patton

  • NA
  • 308
  • 82.8k

Correct way of Checking for Driver

Jul 23 2012 7:28 AM
Hi All,

I need to find out how to check if a driver is installed, if not install it, if it is check the version number, if older then install upgrade if newer then don't. I have code to check the version number, however I would like to know if there is an 'official' method and a point toward where it is detailed.  My fear is if I release this code (it has the potential to be around for years) I don't want to have to alter it to allow for updates/changes in hardware. Or (worse still) it changes the driver and leaves other devices stranded.
There must be away!

Glenn