tis-xencenter 7.1.0-6

  • package : tis-xencenter
  • version : 7.1.0-6
  • description : Xen Center Windows >= 7
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-03-03 15:08:05
  • signer : Tranquil IT Systems
  • signature_date : 20170303-150759
  • min_os_version : 6.0
  • min_wapt_version :
  • Depends :

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 platform

uninstallkey=[]

def install():
    if platform.win32_ver()[0] == 'XP':
        error('Not available for Windows XP, requires Dot Net FX 4.5 !!!')
    # uninstall previous versions to avoid issues.
    old = installed_softwares('Citrix XenCenter')
    if old:
        for soft in old:
            if Version(soft['version']) != Version('7.1.0'):
                run_notfatal(uninstall_cmd(soft['key']))
    install_exe_if_needed('XenServer-7.1.0-XenCenterSetup.exe',"/q")


    

manifest

[["WAPT/icon.png", "8c2f58cf66996c15562473487b06ce86e57b8144"], ["WAPT/wapt.psproj", "50994be46d7b031d04ab16ef781382f63e92e2e5"], ["XenCenter.msi", "44a202fa1c5b424587f4546e96453210a6359dfe"], ["setup.py", "0154a4cbedd008c9c5682c1681474a7fd4a1cd31"], ["XenServer-7.1.0-XenCenterSetup.exe", "953cb391e2fb444817e6ee9b65ffbd624cd996db"], ["WAPT/control", "e8df7160f34ea112a78f1004868bc72bf427a21d"]]