Client Export on 2.0 Release creates corrupted Windows installers
The first few bytes of the corrupted executable are
.Warning: Missing argument 8 for openvpn_client_export_installer(), called in /usr/local/www/vpn_openvpn_export.php on line 336 and defined in /usr/local/pkg/openvpn-client-export.inc on line 278.MZ..........
This message doesn't appear in the working executable.
Issue is discussed and a possible fix is proposed in http://forum.pfsense.org/index.php/topic,41180.0.html
#3 Updated by c c almost 7 years ago
This issue is appearing again on 2.0.1 with the new 0.26 client export. Was working previously on 0.24, uninstalled and updated to 0.26 and all exported executables are corrupted. When run from console, I get "program too big to fit in memory" (Windows XP x86, with either 2.2 or 2.3 beta export).
#4 Updated by c c almost 7 years ago
Also, as with the error above, here is the first few line of the generated executable when viewed from notepad:
Warning: rename(openvpnmanager/openvpn-postinstall.exe,openvpn-postinstall.exe): No such file or directory in /usr/local/pkg/openvpn-client-export.inc on line 525 MZ ÿÿ ¸ @ ø º ´ Í!¸LÍ!This program cannot be run in DOS mode.