tis-winscp 5.9.5-1

  • package : tis-winscp
  • version : 5.9.5-1
  • description : Client SCP sous Windows
  • maintainer : TIS, Amelie LE JEUNE
  • date : 2017-04-20 10:20:16
  • signer : Tranquil IT Systems
  • signature_date : 20170420-102011
  • min_os_version :
  • min_wapt_version :

setup.py

#!/usr/bin/python
# -*- 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 *

uninstallkey = []

def install():
    install_exe_if_needed('WinSCP-5.9.5-Setup.exe','/FORCE /VERYSILENT /NORESTART /LOADINF=winscp.ini',key='winscp3_is1',min_version='5.9.5',killbefore='winscp.exe')
    # the uninstall is not fully silent.. it can ask for reboot... so disable use of uninstall key for remove
    #  and explicitly provide the uninstall function below.
    uninstallkey.remove('winscp3_is1')

def uninstall():
    cmd = uninstall_cmd('winscp3_is1')
    run_notfatal('%s /NORESTART /VERYSILENT'  % cmd)


    

manifest

[["WAPT/icon.png", "d1fb485cdc66d9c55769b72d0a29008a56913b4f"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"], ["winscp.ini", "5a8b703501ce9d0375e6f3fbf1f60c182133a1da"], ["WinSCP-5.9.5-Setup.exe", "8304e26fbe9a9e2083b94b04c22f79b0d50e1417"], ["setup.py", "a71309695cab332404817f26cc1ae03fa648327d"], ["WAPT/control", "e418cbedd83b50169c879511853befecc1fbc703"], ["WAPT/changelog.txt", "7c3aeb58b7814e5aa1fe8fd4bc8def7e8933e511"]]