Hi,
I use SetupCopyOEMInfA in my Wise installer to install a scanner device that works with USB connection and it works fine.
These days i have new drivers for this device and i want to make sure that the old devices will be replaced so in order to do that i want to uninstall the current driver and its files and then use my installer to install the new driver.
I try to use SetupUninstallOEMInfA but it not do the job and all driver files are in place (The API return 0 value)

Any one have an idea how can i do it automatically without telling the user to do it by him self from the device manager?

Thanks.