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


def install():
    bin_name = glob.glob("Freeplane-Setup-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="{D3941722-C4DD-4509-88C4-0E87F675A859}_is1",
        min_version=control.get_software_version()
    )
