New to the WAPT field,
I am looking to configure a custom package in order to install the Forticlient_6.4.3.exe software.
I managed to launch the software from the PyScripter console (after modifying the code).
However, I can't figure out what code to add in order to accept the license terms that the software requires me to validate.
Is there some kind of magic code to validate this parameter and thus silently install the software?
Code setup.py:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
# Installing the software
print("Installing: %s" % control.package)
install_exe_if_needed('FortiClientVPNSetup_6.4.3.1608_x64.exe',
'/s',
key='',
min_version=control.get_software_version(),
)
Anthony
