Often we are required to write applications (installers) which installs the driver files associated with a device even before the device is actually plugged in to the system. The process is called 'preinstalling' driver packages. In order to preinstall a driver package, use the SetupCopyOEMInf API. Uninstallation can be done using the SetupUninstallOEMInf API. Look here http://msdn.microsoft.com/e... for more details ......