tis-kvrt 15.0.19.6

  • package : tis-kvrt
  • version : 15.0.19.6
  • architecture : all
  • locale :
  • description : Kaspersky Virus Removal Tool (Kaspersky Lab ZAO)
  • maintainer : Hübert TOUVET
  • date : 2018-02-27 19:01:38
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

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

uninstallkey = []

destdir = makepath(programfiles32,'KVRT')
destexe = makepath(destdir,'KVRT.exe')
progname = 'KVRT Kaspersky Virus Removal Tool'

def install():
    print('installing tis-kvrt')
    killalltasks('kvrt.exe')
    mkdirs(destdir)
    filecopyto('KVRT.exe',destexe)
    create_programs_menu_shortcut(progname,destexe,'-accepteula')

def uninstall():
    killalltasks('kvrt.exe')
    remove_tree(destdir)
    remove_programs_menu_shortcut(progname)

def update_sources():
    wget('http://devbuilds.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe','KVRT.exe',proxies={'http':None})
    # change version of package
    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt('.')
    pe.version = get_file_properties('KVRT.exe')['ProductVersion']+pe.version.rsplit('-',1)[1]
    pe.save_control_to_wapt('.')

if __name__ == '__main__':
    update_sources()
    

Changelog

No changelog
    

manifest.sha256

WAPT/icon.png fab491de6f0b6921f5b832d241e6a9f364b56574e282c7c2be50bc010959d110
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 7377c7b433554efabae335522b68460f9f1c2386e93e923a2c28161999d0e408
KVRT.exe 18b59e4501793cfb1cbb268e19918b19623193481444b6ba3240942e18b6c285
setup.py 21f5f40e7ce583408ef599f1a20df131860a13d6149e84687736544f9ca0edc1
WAPT/control 7cde619cf5d8409aec5c82e1ee1d265fad2265d1deba39821154942c99563cba