OpenVPN / openvpn-build

OpenVPN Build
326 stars 238 forks source link

Installation Error Every Time #480

Open Alb11747 opened 1 year ago

Alb11747 commented 1 year ago

Describe the bug Everytime I try to install OpenVPN I get this error "OpenVPNMSICA: tap_create_adapter: DiinstallDevice failed Error -536870397:"

image

To Reproduce Download and run the installer (Though, it's machine specific).

Expected behavior OpenVPN installs and run correctly.

Version information (please complete the following information):

Additional context It managed to get past this point even with the error but when I tried to connect it show an error that said window did not have a tap driver.

I had previously installed OpenVPN on this computer but when I got a notification that there was an update I downloaded and ran the new installer getting this error.

In Device Manager > Network Adapters, I see a "Unknown device" getting added everytime it gets to the error and removed when it rolls back the update.

wolfgangihloff commented 1 year ago

I see the same issue on Windows 11 Pro with 2.6.6 with latest updates as of today on new install of OpenVPN

Screenshot 2023-09-28 174520

chipitsine commented 1 year ago

can you collect logs from "Event Viewer" --> "Windows Logs" --> "Application" --> (Source: MsiInstaller)

chipitsine commented 1 year ago

btw, do you have wireguard installed ?

wolfgangihloff commented 1 year ago

No, no Wireguard installed, I cannot upload in here the MsiInstaller events.evtx, but see screenshot Screenshot 2023-09-29 094523

flichtenheld commented 7 months ago

duplicate of #258

sc20ka commented 3 months ago

same error try install last ver OpenVPN-2.6.10-I003-amd64.msi current ver is OpenVPN-2.5.8-I601 amd64 trying disable install driver in msi option, not help, the installer anyway try install the driver

MSI (s) (40:E0) [17:16:18:514]: Invoking remote custom action. DLL: C:\windows\Installer\MSI43A6.tmp, Entrypoint: ProcessDeferredAction
InstallTUNTAPAdapters: Creating adapter: OpenVPN Wintun Wintun 
Error 2551. OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed  Error -536870397: 
MSI (s) (40!D8) [17:16:20:707]: Product: OpenVPN 2.6.10-I003 amd64 -- Error 2551. OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed  Error -536870397: 

CustomAction InstallTUNTAPAdapters returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:16:20: InstallExecute. Return value 3.
MSI (s) (40:BC) [17:16:20:727]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (40:BC) [17:16:20:728]: User policy value 'DisableRollback' is 0

looks identical, and most likely this is it

187