# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    bin_name = glob.glob("gaphor-*-installer.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="Gaphor",
        min_version=control.get_software_version(),
        timeout=600,
    )
