Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on windows 10 x64 using newer installers. #369

Open
kakhulu31 opened this issue May 22, 2023 · 2 comments
Open

Can't install on windows 10 x64 using newer installers. #369

kakhulu31 opened this issue May 22, 2023 · 2 comments
Labels
msi related to MSI installer needsmoreinfo windows

Comments

@kakhulu31
Copy link

kakhulu31 commented May 22, 2023

The latest installer that works for me is openvpn-install-2.4.12-I601-Win10.exe (https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.12-I601-Win10.exe)
When I try to install openvpn using newer installers starting from 2.5 I get this error:

image

And then this (after clicking "ok")

image

I uninstalled openvpn 2.4.12 and had no virtual network drivers installed before trying to install 2.5 and newer

image

@kakhulu31 kakhulu31 changed the title Can't install on windows 10 using newer installers. Can't install on windows 10 x64 using newer installers. May 22, 2023
@lstipakov
Copy link
Member

It is impossible to say what is wrong without seeing logs. I suggest to remove all remains of tap/wintun drivers and try again. Run following commands into administrative powershell (adjusting IDs):

  1. Find all devices that use TAP-Windows6 driver (see Instance ID values)
PS C:\Users\lev> pnputil /enum-devices | Select-String "TAP-Windows Adapter" -Context 1,6

  Instance ID:                ROOT\NET\0000
> Device Description:         TAP-Windows Adapter V9
  Class Name:                 Net
  Class GUID:                 {4d36e972-e325-11ce-bfc1-08002be10318}
  Manufacturer Name:          TAP-Windows Provider V9
  Status:                     Started
  Driver Name:                oem17.inf

  Instance ID:                ROOT\NET\0003
> Device Description:         TAP-Windows Adapter V9 for OpenVPN Connect
  Class Name:                 Net
  Class GUID:                 {4d36e972-e325-11ce-bfc1-08002be10318}
  Manufacturer Name:          TAP-Windows Provider V9 for OpenVPN Connect
  Status:                     Started
  Driver Name:                oem36.inf
  1. Remove those devices:
PS C:\Users\lev> pnputil /remove-device root\net\0000
Microsoft PnP Utility

Removing device:          root\net\0000
Device removed successfully.
  1. Do the same with wintun:
PS C:\Users\lev> pnputil /enum-devices | Select-String "wintun" -Context 1,6

  Instance ID:                ROOT\NET\0001
> Device Description:         Wintun Userspace Tunnel OpenVPN/openvpn-gui#16
  Class Name:                 Net
  Class GUID:                 {4d36e972-e325-11ce-bfc1-08002be10318}
  Manufacturer Name:          WireGuard LLC
  Status:                     Started
  Driver Name:                oem205.inf
PS C:\Users\lev> pnputil /remove-device root\net\0001
Microsoft PnP Utility

Removing device:          root\net\0001
Device removed successfully.
  1. Find all instances of TAP-Windows6 drivers (see Published Name value):

PS C:\Users\lev> pnputil /enum-drivers | Select-String "TAP-Windows Provider V9" -Context 1,10

PS C:\Users\lev> pnputil /enum-drivers | Select-String "TAP-Windows Provider V9" -Context 2,5

  Published Name:     oem17.inf
  Original Name:      oemvista.inf
> Provider Name:      TAP-Windows Provider V9
  Class Name:         Network adapters
  Class GUID:         {4d36e972-e325-11ce-bfc1-08002be10318}
  Driver Version:     04/27/2023 9.26.0.0
  Signer Name:        Microsoft Windows Hardware Compatibility Publisher
  1. Delete those drivers:

PS C:\Users\lev> pnputil /delete-driver oem17.inf

  1. Repeat for wintun drivers:

PS C:\Users\lev> pnputil /enum-drivers | Select-String "wintun" -Context 2,5

  Published Name:     oem205.inf
> Original Name:      wintun.inf
  Provider Name:      WireGuard LLC
  Class Name:         Network adapters
  Class GUID:         {4d36e972-e325-11ce-bfc1-08002be10318}
  Driver Version:     12/10/2019 0.8.0.0
  Signer Name:        Microsoft Windows Hardware Compatibility Publisher

PS C:\Users\lev> pnputil /delete-driver oem205.inf
  1. Install the latest OpenVPN-GUI and collect logs:

msiexec /i OpenVPN-2.6.4-I001-amd64.msi /L*V install.log

  1. If you still experience issues, paste the log here.

@lstipakov lstipakov transferred this issue from OpenVPN/openvpn-gui May 22, 2023
@lstipakov lstipakov added windows msi related to MSI installer labels May 22, 2023
@ghost
Copy link

ghost commented Feb 22, 2024

It's still throwing an error for me. You want install.log, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msi related to MSI installer needsmoreinfo windows
Projects
None yet
Development

No branches or pull requests

3 participants