I am trying to build a utility to export an installed printer driver from a Windows machine. All is well and good on Vista and higher, because the InfPath entry in the driver's registry key points at the INF file. However, on previous versions of Windows, this doesn't exist.
Sometimes I can find the INF file for a printer by scanning C:\Windows\Inf, but this is generally only true of drivers that are part of Windows.
What is done with the INF file after a printer driver is installed? Is it even saved? Is it realistic to reconstruct it programmatically?