tis-malwarebytes 2.2.1.1043-5

  • package : tis-malwarebytes
  • version : 2.2.1.1043-5
  • description : Malwarebytes Anti-Malware (Malwarebytes)
  • maintainer : TIS
  • date : 2017-07-20 11:21:22
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112122
  • min_os_version :
  • min_wapt_version :

setup.py

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

uninstallkey = []

setup_file_name = 'mbam-setup-2.2.1.1043.exe'
setup_version = setup_file_name.rsplit('-',1)[1]

def install():
    # standard for InnoSetup
    infos = get_file_properties(setup_file_name)
    print('Installing %s (%s)' % (infos['ProductName'],infos['ProductVersion']))
    version = infos['ProductVersion']
    key = infos['ProductName']+'_is1'
    install_exe_if_needed(setup_file_name,'/VERYSILENT',key=key,min_version=version)

def update_package():
    if not isfile(setup_file_name):
        wget('http://data-cdn.mbamupdates.com/web/%s'%setup_file_name,setup_file_name)

def update_control(control):
    control.version = get_file_properties(setup_file_name)['ProductVersion']+'-0'
    for fn in glob.glob('mbam-*.exe'):
        if fn != setup_file_name:
            remove_file(fn)

if __name__ == '__main__':
    update_package()
    

manifest

[["mbam-setup-2.2.1.1043.exe", "c23cd354ff2cc17c6757b3ac5519b059e0a4d226"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["setup.py", "cf06b96f93baba4c5ae79f01e2b9dab248d64ea3"], ["WAPT/control", "36dfc5069f2c9abd4e0caa4bec8df14c62d03c72"], ["WAPT/wapt.psproj", "eb115e137a2d5424de6d413322ab5a30895ece92"]]