# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
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
    bin_name = glob.glob('*.exe')[0]
    # Installing the software
    print(f"Installing: {bin_name}")
    install_exe_if_needed(bin_name,
        silentflags='/S /ALLUSERS',
        key='13998dff-ad91-57f4-b530-aa7ad6d4fea5',
        min_version=control.get_software_version()
    )



