tis-screenhunter 6.0.0.0-1

  • package : tis-screenhunter
  • version : 6.0.0.0-1
  • description : Capture d'ecran screenhunter
  • maintainer : Tranquil IT Systems, Jérémie MOTTE
  • date : 2017-07-20 11:24:06
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112406
  • min_os_version :
  • min_wapt_version :

setup.py

# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
from setuphelpers import *

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

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

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


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



    print('installing screenhunter')
    run(r'"setupscreenhunterfree.exe" /S')

def uninstall():
    uninstallstring= '"%s" /S "%s"' % (os.path.join(programfiles32,'Wisdom-soft ScreenHunter 6.0 Free','unwise.exe'),os.path.join(programfiles32,'Wisdom-soft ScreenHunter 6.0 Free','INSTALL.LOG'))
    run(uninstallstring)
    

manifest

[["WAPT/icon.png", "b93bccfb70d18502fe2311230929bfede15c1f4c"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "a977b13d58a7d9d44bce87b89713cd8a964ce32d"], ["setupscreenhunterfree.exe", "caaad453200360099a8997cf02ad7f60378c370f"], ["setup.py", "25caa3e89ac66dc1641fd90303f38de592ac08b9"], ["WAPT/control", "35cba05558710f92775e662def7245276a679001"]]