OpenVPN / tap-windows6

Windows TAP driver (NDIS 6)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VCRUNTIME missing when installing tap driver

shkpk opened this issue · comments

I recently compiled tap driver and made package with NSIS as written in README file. However installation of .exe failed on some windows machine with VCRUNTIME error which is because those machines do not have vc_redist package not installed already.

Any idea how this can be resolved? NSIS should be adding dependencies in exe.

I vaguely recall we had the same problem years ago. Cannot remember how it was resolved. I also could not find any traces of the issue from our bug tracker.

Well, to be honest I can recall if the problem was with tap-windows(6) or OpenVPN.

Problem seems to be when compiling devcon.exe from https://github.com/OpenVPN/Windows-driver-samples
I used pre-built devcon.exe from EWDK 2017, and this error is gone.

As mentioned in the commit comments the commit/patch for Windows-driver-samples is currently working ok for us. Otherwise we'd have a flood of user complaints. But it is possible that some WDK versions manage do not interpret the settings correctly and cause the vc_redist issue to reappear.

@mattock yes, i figured out. your commit is good, there was problem with WDK I was using. Closing this ticket.