Reply To: WiX-Setup-Routine: Howto check on uninstall if NDISRD is in use by an app?

Home Forums Discussions Support Portal WiX-Setup-Routine: Howto check on uninstall if NDISRD is in use by an app? Reply To: WiX-Setup-Routine: Howto check on uninstall if NDISRD is in use by an app?

#11039
Vadim Smirnov
Moderator

Hmm, interesting question and I’m afraid I don’t have a quick answer. Inspecting all active processes for the open driver handle does not look a good idea. However, I think such functionality could be added to the driver itself, an example store the driver opened handles counter in the registry.

Still, I’m not sure that this type of functionality is really needed though, normally you should tie your NAT application with custom driver build. In this situation your NAT application always knows if it uses the driver or not while no other application are aware about the custom driver build therefore can’t use the driver.