# -*- 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("K-Lite_Codec_Pack_*_Mega.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="KLiteCodecPack_is1",
        min_version=control.get_software_version(),
        timeout=600,
    )
