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
  • 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"
    

Changelog

No changelog
    

manifest.sha256

[["windump/WinDump.exe", "2525041dca2bd37240cca59eb83fa1ec10a4a43716d324dc104dd39db98d358f"], ["WAPT/icon.png", "6c6975817aa68e215219da3c17718af7e8d5d1f87e9853661bc5d1a8792e12c4"], ["WAPT/certificate.crt", "20f25d6b242159077345379865f8e0d84bdc9e4764190f1aa6cb3816bcabd341"], ["WAPT/wapt.psproj", "bc34bb5f85d78dffc7effd37bd0639580a0e140c155973c04d79eb9aa31eb57a"], ["setup.py", "49773e86785ce79de6101923ccb60110351bd3d7cd7ccac0d8b2cd4704328870"], ["WAPT/control", "ae0c5fb8432a081142133502fa4e2cfec93a0cfa1631040a9b050e5a663a4dbe"]]