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


def install():
    bin_name = glob.glob("XnViewMP-win-x64.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="XnView MP (x64)_is1",
        min_version=control.get_software_version(),
    )
