tis-tail4win32 1-0

  • package : tis-tail4win32
  • version : 1-0
  • architecture : all
  • locale :
  • description : automatic package for Tail Application (Original author: Paul Perkins)
  • maintainer : Administrateur
  • date : 2018-02-27 19:08:26
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = ['tail4win32']

# command(s) to launch to remove the application(s)
uninstallstring = []

# list of required parameters names (string) which canb be used during install
required_params = []

destdir = makepath(programfiles32,'Tail for Win32')
exefile = makepath(destdir,'tail.exe')

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    global uninstallkey
    global uninstallstring

    print('Installing Tail for win32')
    copytree2('tail4win32',destdir,onreplace=default_overwrite_older)
    create_programs_menu_shortcut('Tail for win32',exefile)
    print "Registering uninstall"
    register_uninstall('tail4win32','c:\\wapt\\wapt-get.exe uninstall tis-tail4win32',False,quiet_uninstall_string='',
        install_location = destdir,display_name='Tail for Win32',
        display_version = get_file_properties(exefile)['FileVersion'],publisher = 'Paul Perkins')

def uninstall():
    print "Remove start link"
    remove_file(makepath(start_menu(1),'tail4win32.lnk'))
    print "Remove directory content %s" % destdir
    remove_tree(destdir)
    print "Unregister app from registry"
    unregister_uninstall('tail4win32',False)
    print "Uninstall successsful"

    

Changelog

No changelog
    

manifest.sha256

tail4win32/tail.exe 36912de510ce5e5fa9c2a8a74ad66768c834bfce0a58489e3f40c214633dcb1e
setup.py ef384d3e05c99fce3816f6c5296fdd1fff016451136dd57be818e2e1e37e87e5
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj df0b280a4dff05ccc3b6185cf1dd39ac9a0aeca883450cc1836a4004baee2567
WAPT/control 7f492faaa44820e0e884330e99c16eb3e4dea3708bdaf6f54813abf79fdf7fab