At MSDN it is stated that there are two techniques to install INF files on Windows XP or later:
- Programmatically through SetupCopyOEMInf function.
- Add an entry called CopyInf on an INF section.
Are there an equivalent entry on an inf section to uninstall inf files that is similar to SetupUninstallOEMInf function?
I found this solution using SetupUninstallOEMInf but it does not seems suitable to me.
oem*.infbeing automatically removed from\Windows\INF? I have never seen that happen, especially with things that are installed via.inffiles instead of.exeor.msiinstallers. You could open them in a text-editor and delete the one(s) that no longer apply. – Synetech Jul 26 '12 at 21:33.inffile. You can query theInfPathvalue of the device in question under theHKLM\SYSTEM\ControlSet001\Control\Classregistry branch to find out what theoem*.inffilename is for it. – Synetech Jul 27 '12 at 00:22oem*.inffile? Do a search in\Windows\inf\foroem*.inffiles taht contain the device name (or just check them all in notepad if there’s only a few). – Synetech Jul 27 '12 at 22:11.inf(unlike.infs that install some system components) that has an uninstallation section. So these commands are utterly useless. – ivan_pozdeev Dec 31 '17 at 13:24