tis-owncloud 2.1.0.5684

  • package : tis-owncloud
  • version : 2.1.0.5684
  • description : ownCloud client for Windows for use with Owncloud 4.5/5.0 (Windows XP, Vista, 7 and 8, 32/64 bit)
  • maintainer : TIS, Amelie LE JEUNE
  • date : 2017-07-20 11:23:32
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112332
  • 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 *
import glob

uninstallkey = []

def update_control(entry):
    setup_exe = glob.glob('ownCloud*.exe')
    version = setup_exe[0].split('-')[1]
    entry.version = version

def install():
    print "closing owncloud"
    killalltasks("ownCloud.exe")
    print "Installing Owncloud sync client"
    install_exe_if_needed("ownCloud-2.1.0.5683-setup.exe", '/S', min_version='2.1.0')

def uninstall():
        print('Removing Owncloud')
        run('"%s" %s ' % (makepath(programfiles32,'ownCloud', 'Uninstall.exe'),'/S'))


    

manifest

[["WAPT/icon.png", "b78c748ce6000304bd907695a0e903236b4c22b3"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"], ["ownCloud-2.1.0.5683-setup.exe", "575c59797e8778d1be3ff3bb32f6d23632d03692"], ["setup.py", "1341c300c9db4df48b286197de97276d24795fd2"], ["WAPT/control", "6821e77627c2442a93fd68420531e6dbfa1418db"]]