tis-windump 3.9.5-8

  • package : tis-windump
  • version : 3.9.5-8
  • description : automatic package for windump
  • maintainer : Administrateur
  • date : 2017-07-20 15:57:38
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-155738
  • min_os_version :
  • min_wapt_version :
  • Depends :

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 canb be used during install
required_params = []

destdir = makepath(programfiles32,'windump')
exefile = makepath(destdir,'windump.exe')

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

    print('Installing windump')
    copytree2('windump',destdir,onreplace=default_overwrite_older)
    print "Registering uninstall"
    register_uninstall('windump','c:\\wapt\\wapt-get.exe uninstall tis-windump',False,quiet_uninstall_string='',
        install_location = destdir,display_name='WinDump, tcpdump pour windows',
        display_version = '3.9.5',publisher = 'Riverbed')

def uninstall():
    print "Remove directory content %s" % destdir
    if os.path.exists(destdir):
        remove_tree(destdir)
    print "Unregister app from registry"
    print "Uninstall successsful"
    

manifest

[["windump/WinDump.exe", "d59bc54721951dec855cbb4bbc000f9a71ea4d95"], ["WAPT/icon.png", "a0bbaf76843284aae7fd9b59dd1d5012a60181b6"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"], ["setup.py", "1299fef18c8a6ea48b2cf5a5bf17749abb611f92"], ["WAPT/control", "16fd263e963ca0f416e6f621cf80ea9a353e763b"]]