tis-waptstartup

1.0-7
Package for WAPT Exit at startup
148 downloads
Download

  Description 

  • package : tis-waptstartup
  • version : 1.0-7
  • architecture : all
  • categories :
  • maintainer : Kévin Guérineau, Alexandre Gauvrit
  • description : Package for WAPT Exit at startup
  • locale : all
  • target_os : windows
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr : Paquet pour WAPT Exit au démarrage
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-11-25T17:17:07.505000

  Setup.py 

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

uninstallkey = []

def install():
    print('Installing WAPT Startup')
    program_data = os.getenv('PROGRAMDATA')
    all_users_startup = makepath(program_data,'Microsoft','Windows','Start Menu','Programs','Startup')
    wapt_install = install_location('WAPT_is1')
    if not wapt_install:
        if isdir(makepath(programfiles32,'wapt')):
            wapt_install=makepath(programfiles32,'wapt')
        else:
            wapt_install="C:\wapt"

    print('WAPT installed in : %s' % wapt_install)
    wapt_exit = makepath(wapt_install,'waptexit.exe')
    wapt_upgrade_shortcut = makepath(all_users_startup,'WAPT Upgrade.lnk')

    create_shortcut(wapt_upgrade_shortcut,wapt_exit,arguments='',wDir=wapt_install)

def uninstall():
    print('Remove WAPT Startup')
    program_data = os.getenv('PROGRAMDATA')
    all_users_startup = makepath(program_data,'Microsoft','Windows','Start Menu','Programs','Startup')
    wapt_upgrade_shortcut = makepath(all_users_startup,'WAPT Upgrade.lnk')
    remove_file(wapt_upgrade_shortcut)
	
def update_package():
    pass
										

  Changelog 


No changelog
  manifest.sha256 
[["__pycache__/setup.cpython-36.pyc","1e484e5d42116d59c518a9a819ecfe9955e09abbdc61eda68637f56933c7c402"],["setup.py","29b05aab56c796b316a792aaf2752ce1e81ead1e43fd33949edb90bc1e159996"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","f2128a9e428b6707038f8373cff4217990aace602dd38c167b26600ae361b57f"]]