c# - DEVCON.EXE (driver tool) and OpenVPN -
We wrote an application that manages Open VPN from the tray as an add-on for a large software package . Open VPN contains a file called tapinstall.exe which installs the Open VPN adapter (or a driver for that matter). While doing some research, this file is similar to a command-line tool called Dimocon which includes Microsoft Windows DDK. Open VPN people have renamed it for their use. So we use custom action to install the driver during our setup (MSI) installer, which works just fine for most of the part. Every now and then, devcon fails and hangs - Never after that point, you can run the deckon again and install it twice twice ... which is basically open VPN Will break. Has anyone seen this problem with disco, know what it is doing, or fix it? As an alternative solution, does anyone have to install a driver from C #? (We have a .inf and .sys file) Update: We have found that these problems are very rare. This is most often when we have applied an update, where we unin...