Problems with InstDrv Plugin
Hello,

I've made an installer using InstDrv plugin, but I had some issues.

First, the driver I'm trying to install is a virtual device, a display mirror driver. I'm not the one who developed it, but I think it may have some bugs (I'll explain later in this post).

I've managed to make it install the driver (InitDriverSetup > CreateDevice > InstallDriver), but the function "CountDevices" don't find the installed device, the function "DeleteOemInfFiles" don't delete the INF files and the function "RemoveAllDevices" don't remove the installed devices.If I call "InstallDriver" with a previous driver installed, it updates the driver.

I don't know if this plugin has a bug, since I saw many people reporting problems with it, but the most problems were with the installation, and this is working here. But the problem might be in the driver. I tryed to edit the INF to find any possible bug, but I'm not familiar with driver development.

Here are the codes from INF and the part of my code that Install the driver:

PS: I made some comments with URLs in the INF to help me debug it.