Project

General

Profile

Actions

Feature #10858

closed

OpenVPN Client silent install

Added by Viktor Gurov over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
OpenVPN Client Export
Target version:
-
Start date:
08/31/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:

Description

Allow to use openvpn client export windows installers for unattended deploy

Currently it's possible to create silent installer by changing this part of code:
https://github.com/pfsense/FreeBSD-ports/blob/6d29773895fc54d1f7f88af4fbc398303d6cd91a/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.inc#L639-L648:

    if ($usetoken) {
        $procchain =     ';!@Install@!UTF-8!
RunProgram="openvpn-install.exe /S" 
RunProgram="openvpn-postinstall.exe /S /Import" 
;!@InstallEnd@!'
;
        } else {
                $procchain =    ';!@Install@!UTF-8!
RunProgram="openvpn-install.exe /S" 
RunProgram="openvpn-postinstall.exe /S" 
;!@InstallEnd@!'
;

The "/S" key is used for silent install

Need to add WebGUI checkbox for this feature.


Files

Silent Install fails to save.avi (512 KB) Silent Install fails to save.avi Video demonstrates workflow Jordan Fishman, 02/15/2021 07:15 PM
Actions

Also available in: Atom PDF