tis-processexplorer 16.2-3

  • package : tis-processexplorer
  • version : 16.2-3
  • architecture : all
  • locale :
  • description :
  • maintainer : Tranquil IT Systems
  • date : 2018-02-27 19:06:52
  • 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 = ['processexplorer']

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

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

    if iswin64():
        exefile=makepath(destdir,'procexp64.exe')

    print('Installing Process explorer')
    copytree2('ProcessExplorer',destdir,onreplace=default_overwrite_older)
    create_programs_menu_shortcut('ProcessExplorer',exefile)
    print "Registering uninstall"
    register_uninstall('processexplorer','c:\\wapt\\wapt-get.exe uninstall tis-processexplorer',False,quiet_uninstall_string='',
        install_location = destdir,display_name='Process Explorer',
        display_version = get_file_properties(exefile)['FileVersion'],publisher ='Microsoft SysInternals')

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

def session_setup():
    if iswin64():
        create_user_desktop_shortcut('ProcessExplorer',makepath(destdir,'procexp64.exe'))
    else:
        create_user_desktop_shortcut('ProcessExplorer',makepath(destdir,'procexp.exe'))


    

Changelog

No changelog
    

manifest.sha256

WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b
ProcessExplorer/Eula.txt 8329bcbadc7f81539a4969ca13f0be5b8eb7652b912324a1926fc9bfb6ec005a
pyscripter-tis-processexplorer.psproj 5c27b9eca8d04cccbe953a71510efe06acbd3677513fc2d32070b7f63c785d9e
ProcessExplorer/procexp64.exe 4dab48a7072a2a05b684dd20d8fce65452c3a3d0bc908ef49ecabdc836e93aea
ProcessExplorer/procexp.chm 36daeb8eb206d1ca5a0933fffcb07645c9aa68a037d64839d3dbc692c403e76f
setup.py c136b8b7f27c25efb8b9b4a7fd074715b515268c24e9b31f6c6da9678def47c4
ProcessExplorer/procexp.exe 4d4b723924c93c3fb9f370a2b392e91c01b4f604faa9dca777dc60012f1a05e6
WAPT/control d533a389c5f273cf060a771ae82e9aa5d047fcde9dcec0126d5fddc9e79d2d04