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

r"""


"""
# 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

    install_exe_if_needed('Enpass-setup.exe',
        silentflags='/quiet /norestart',
        key='',
        min_version=control.get_software_version()
    )

    for i in installed_softwares('enpass'):
        if 'uninstall' in i['uninstall_string']:
            uninstallkey.append(i['key'])


