tis-diashapes

0.3.0-7
diashapes (Steffen Macke)
31 downloads
Download

  Description 

  • package : tis-diashapes
  • version : 0.3.0-7
  • architecture : all
  • categories :
  • maintainer : Administrator
  • description : diashapes (Steffen Macke)
  • locale :
  • target_os : windows
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources : https://sourceforge.net/projects/dia-installer/files/diashapes/0.3.0/
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-10-13T18:25:08.278203

  Setup.py 

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

uninstallkey = []

def install():
    install_exe_if_needed("diashapes-setup-0.3.0.exe",'/S',key='diashapes',min_version='0.3.0')

def uninstall():
    remove_tree(r'c:\Program Files (x86)\diashapes')
    remove_programs_menu_folder('diashapes')
    remove_programs_menu_shortcut('Diashapes')
    # put here what to do when package is removed from host
    # implicit context variables are WAPT, control, user, params, run

def session_setup():
    print('Session setup for %s' % control.asrequirement())
    # put here what to do when package is configured inside a user session
    # implicit context variables are WAPT, control, user, params

def update_package():
    pass
    # put here what to do to update package content with newer installers.
    # launched with command wapt-get update-package-sources <path-to-wapt-directory>
    # implicit context variables are WAPT, basedir, control, user, params, run
    # if attributes in control are changed, they should be explicitly saved to package file with control.save_control_to_wapt()

def audit():
    pass
    # put here code to check periodically that state is matching expectations
    # return "OK", "WARNING" or "ERROR" to report status in console.
    # all print statement are reported too
    return "OK"
										

  Changelog 


No changelog
  manifest.sha256 
[["setup.py","1523e71f70eb946256839877cc08bfa35a0d3a2606c089f2ba7f4a7da55cb96e"],["WAPT/icon.png","76969ce4d303ea548a861e3c31b155f78acfd9de308a5c1912573182ac43fa56"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","565cf2b235dc561be9e2ffd7317141a4ea08f5fb4997a7f8ed12ec5d122b7845"]]