tis-unlocker

1.9.2-1
suppression/rennomage de fichiers bloques par un processus
3401 downloads
Download

  Description 

  • package : tis-unlocker
  • version : 1.9.2-1
  • architecture : all
  • categories :
  • maintainer : Administrator
  • description : suppression/rennomage de fichiers bloques par un processus
  • locale :
  • target_os :
  • min_wapt_version :
  • sources :
  • 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-02-27T15:13:25.976571

  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 = '')
    print "Create SendTo shortcut"
    shortcut = create_shortcut(makepath(sendto(),'unlocker.lnk'),target=exefile)

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"

										

  Changelog 



No changelog.txt.
									
  manifest.sha256