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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"{7FDA697B-DB08-413C-A530-E0919470D3C8}",
   "name":"Writage",
   "version":"2.13.2.0",
   "install_date":"2024-05-16 00:00:00",
   "install_location":"",
   "uninstall_string":"MsiExec.exe /X{7FDA697B-DB08-413C-A530-E0919470D3C8}",
   "publisher":"Writage",
   "system_component":0,
   "win64":false
  }

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('Writage-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



