openvpn-build icon indicating copy to clipboard operation
openvpn-build copied to clipboard

Import configuration files instead of opening them with notepad

Open ValdikSS opened this issue 9 years ago • 5 comments

https://github.com/OpenVPN/openvpn-gui/pull/76

ValdikSS avatar Aug 28 '16 22:08 ValdikSS

Quoting the previous community meeting summary:

Discussed an issue with .ovpn file associations in Windows. It would be 
best if clicking on a .ovpn file would bring up a gui that asks "do you 
want to import this, or start it right away".

Does the user get any clue as to what is happening when he/she clicks on an .ovpn file when this patch is included?

mattock avatar Aug 29 '16 09:08 mattock

@mattock yes, the user is prompted with a dialog "Do you want to import file blabla.ovpn?" "Yes/No". This commit also introduces an "edit" item in right-click submenu for .ovpn files which opens notepad.exe.

ValdikSS avatar Aug 29 '16 09:08 ValdikSS

@mattock and of course there is/was "Start OpenVPN on this config file" right-click menu item.

ValdikSS avatar Aug 29 '16 09:08 ValdikSS

From windows client trying to use --import file.ovpn returns unknown error even when in the same program files directory or config folder it doesn't pick it up w/o manually importing via menu. Ideas?

jktech89 avatar Mar 09 '20 08:03 jktech89

From windows client trying to use --import file.ovpn returns unknown error even when in the same program files directory or config folder it doesn't pick it up w/o manually importing via menu. Ideas?

Are you referring to this PR or the released version? Currently there is no --import option. But if you manually copy the config to the global or local config folder (or sub folders) it will automatically appear in the GUI menu. Same as importing from the menu. If that's not working please open an issue in the openvpn-gui repo.

selvanair avatar Mar 09 '20 14:03 selvanair

We have decided to remove the nsis/mingw buildsystem since it is not maintained anymore. Only the msi/msvc buildsystem will remain, unless someone steps up to maintain the other parts. This issue will be closed when the removal actually happens.

flichtenheld avatar Dec 14 '22 13:12 flichtenheld

This PR is obsolete as the corresponding PR in the GUI has been superseded by recent changes in import functionality, import from URL etc. It may be closed.

selvanair avatar Dec 14 '22 14:12 selvanair