Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
Hi,
I encounter an issue with DifxApi inside Windows Installer on XML. After uninstalling the .msi file, if the system is rebooted, the OS will attempt to load the filter driver. It will never call EvtDriverDeviceAdd(), only DriverEntry(). The issue here is that the file is missing, which results in a corrupt image: a new reboot cycle, attempt to repair, startup errors are not found, sfc.exe /scannow has no effect. This happens on Windows 10. It is unknown if the issue is present on previous Windows versions.
As a test, running "storage\filters\addfilter" WDK sample with "/remove CustomPCIeFilter" shows the following:
It looks like you're new here. If you want to get involved, click one of these buttons!
Upcoming OSR Seminars | ||
---|---|---|
Writing WDF Drivers | 21 Oct 2019 | OSR Seminar Space & ONLINE |
Internals & Software Drivers | 18 Nov 2019 | Dulles, VA |
Kernel Debugging | 30 Mar 2020 | OSR Seminar Space |
Developing Minifilters | 27 Apr 2020 | OSR Seminar Space & ONLINE |
Comments
Hi Doron,
I have tried with both "3" = SERVICE_DEMAND_START and "0" = SERVICE_BOOT_START. There is no difference in behavior. Based on \INF\SetupApi.dev.log, the StartType is changed to the type of the service below. For PCI.INF, the StartType = 0.
Regards,
Calin
Using "sc.exe delete PCIeFilterName" works. I am adding DeleteService() API into the setup program. Thanks!