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 : 2018-02-27 19:08:40

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)

    

Changelog

No changelog
    

manifest.sha256

[["x86/UnlockerDriver5.sys", "2a24e6cd5d6e0cea3082c0699a2371084cc1268b31bc714098ea0d0c11b3afac"], ["x86/UnlockerCOM.dll", "86e8e34cfb71100cda06fe96573d832049cd18b1b251823139e935a1faefcbe8"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "bc34bb5f85d78dffc7effd37bd0639580a0e140c155973c04d79eb9aa31eb57a"], ["x86/UnlockerAssistant.exe", "b0a4c2b6f40d7ad177dbd40c26b579d67cc9a95552970d9f6f0c7de372ce2a2f"], ["x64/UnlockerDriver5.sys", "ca7176fc219515d58dcfa66ec61880ece5617275c9b83701bb74d8b60e733d34"], ["x64/UnlockerCOM.dll", "0a66b19bb38385a8879633dce1272b8acf1b4b264c88e254345ec249335b41b1"], ["x86/UnlockerHook.dll", "af36ab81c5befe41140a5da5f605361be18b55d6410da1cbf1bf7e0dcf52bc92"], ["x86/Unlocker.exe", "04462d02b3967614082d531d7594548c94cb4c715ae4f38203f026f211248659"], ["x86/README.TXT", "b604fa4d14829d2d5b55f94d9b7298417acd0949e4f4c1483a4411bc4968afac"], ["x64/Unlocker.exe", "a0b651038c4301f70e4aea506eb90edc584a5c4ca46880c7dc2ae5eafa6dc506"], ["x64/README.TXT", "b604fa4d14829d2d5b55f94d9b7298417acd0949e4f4c1483a4411bc4968afac"], ["setup.py", "f9e0daf0b65d460fb44ba6b5ecac42f3622adff8b76e4e4cd206a2fec2338e63"], ["x64/UnlockerInject32.exe", "3b1afea2711e5d731a60b41e87f4711fe1db3345fa316be20347376068479dd5"], ["WAPT/control", "ce5df9c7c1dc5534faa7ad83759d2dfc8284e70c6d99daa939f5f976519c2424"]]