dgalbraith / chocolatey-packages

Automatic and manual Chocolatey packages
MIT License
4 stars 20 forks source link

OpenVPN - Issue with PLAP(Pre-Login Access Provider) option #517

Closed rog9876 closed 9 months ago

rog9876 commented 12 months ago

Hi,

I posted this on chocolatey already but not sure if this may be the better place.

/PLAP parameter does not appear to work correctly.

DEBUG: Error 2711: The specified Feature name ('OpenVPN.PLAP') not found in Feature Table.
MSI (s) (F4:3C) [09:36:21:423]: Product: OpenVPN 2.6.7-I001 amd64 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: OpenVPN.PLAP, ,

Thanks Rog

Lun4r161 commented 10 months ago

Edit: There is a Pull Request for this: https://github.com/dgalbraith/chocolatey-packages/pull/523

I Think the Problem is the /Plap parameter in the chocolateyInstall.ps1. OLD: 'PLAP' { Write-Verbose('Pre-Logon Access-Provider will be activated') $local += 'OpenVPN.PLAP'

NEW: 'PLAP' { Write-Verbose('Pre-Logon Access-Provider will be activated') $local += 'OpenVPN.PLAP.Register'

Because if install it from hand the logs show this parameters: Adding ADDLOCAL property. Its value is 'OpenVPN.GUI,OpenVPN.Service,OpenVPN.Documentation,OpenVPN.SampleCfg,Drivers.OvpnDco,OpenSSL,OpenVPN,OpenVPN.GUI.OnLogon,OpenVPN.PLAP.Register,Drivers,Drivers.TAPWindows6,Drivers.Wintun'

rog9876 commented 9 months ago

Hi all,

Thank you for looking at this and identifying the issue. I am however still getting the same error when installing using below.

choco install openvpn --params="/TapDriver /Gui /PLAP"

EDIT: To add to this - It works fine if I remove /PLAP from it but does not have the pre-logon access provider installed in that case.

Lun4r161 commented 9 months ago

New Issue opened: https://github.com/dgalbraith/chocolatey-packages/issues/524

dgalbraith commented 8 months ago

@rog9876 @Lun4r161 Updated handling for the PLAP parameter is now available with the package in the community repository - versions 2.6.9.001 and greater.