tis-unlocker 1.9.2-4

  • package : tis-unlocker
  • version : 1.9.2-4
  • description : suppression/rennomage de fichiers bloques par un processus
  • maintainer : Administrator
  • date : 2017-07-20 11:24:29
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112429
  • min_os_version :
  • min_wapt_version :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *
import fnmatch
import os
import winsys

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

# 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(programfiles,'Unlocker')
exefile = makepath(destdir,'Unlocker.exe')

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

    print('installing tis-unlocker')
    if iswin64():
      copytree2('x64',destdir,onreplace=default_overwrite_older)
    else:
      copytree2('x86',destdir,onreplace=default_overwrite_older)
    create_programs_menu_shortcut('Unlocker',exefile)
    print "Registering uninstall"
    register_uninstall('Unlocker','c:\\wapt\\wapt-get.exe uninstall tis-unlocker',False,quiet_uninstall_string='',
        install_location = destdir,display_name='File Unlocker',
        display_version = get_file_properties(exefile)['FileVersion'],publisher = '')

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

def session_setup():
    print "Create SendTo shortcut"
    create_shortcut(makepath(sendto(),'unlocker.lnk'),target=exefile)

    

manifest

[["x86/UnlockerDriver5.sys", "cee6b0a5cc1651448b827e55b87d73030b15c287"], ["x86/UnlockerCOM.dll", "d865b17ead0c92339eeaa651c03a629ae5a5e031"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"], ["x86/UnlockerAssistant.exe", "5c80e7b634c10629b63d43083542a4b1b8603318"], ["x64/UnlockerDriver5.sys", "0c45b0fa0718e5aba0f21f14178597a1ed3fc208"], ["x64/UnlockerCOM.dll", "02f2d4476006cecd771de3cbe247e432950ae916"], ["x86/UnlockerHook.dll", "72ed524e769a9f8e72804c019a1cbf58f0d305a7"], ["x86/Unlocker.exe", "9f87f449aa25feedb3ee6b0b817617573eacaec7"], ["x86/README.TXT", "4564f088ec683f8a89894b8158a79d358693bba8"], ["x64/Unlocker.exe", "172bdf71343dd6544cfbe04abbc3dec4535f7d84"], ["x64/README.TXT", "4564f088ec683f8a89894b8158a79d358693bba8"], ["setup.py", "5bb938a28d3c15f4684cc8c8206aa55de7197d52"], ["x64/UnlockerInject32.exe", "e65bb79a470a509a50b4c275c10bc10892ab11ca"], ["WAPT/control", "4a7375c5a9f0224f02ce4cc67f97ae4fe337e8b0"]]