Custom Client Export
-
I'm trying to create a custom client installer for Windows, as I need to use the latest OpenVPN client to enable the login screen connection.
I'm following the source code to understand how the package is generated, and I see an exe named
openvpn-postinstall.exe
is used. Where does thisexe
comes from? Is it OpenVPN's or pfSense's? -
Those are pre-compiled and a part of the export package binaries.
You can download an installer from the export package and unpack it with 7-zip or similar to get all of the files necessary.
-
@jimp thank you. Any idea what it does and why is it needed? I know it works, I've been using it for a long time, but since I need to make some changes I wonder if I still need it.
-
The extra files that are part of the export package handle the installation and config copy process that happens. The installer in the export package installs OpenVPN and then afterward (post install) it copies the bundled certs, config, etc.