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


def install():
    # Declaring local variables
    bin_name = glob.glob("*peazip*.exe")[0]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="{5A2BC38A-406C-4A5B-BF45-6991F9A05325}_is1",
        min_version=control.get_software_version(),
    )
