tis-exodus

0.10.0.0-7
Simple light Jabber / XMPP client
1763 downloads
Download

  Description 

  • package : tis-exodus
  • version : 0.10.0.0-7
  • architecture : all
  • categories :
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • description : Simple light Jabber / XMPP client
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources : https://srvdev.tranquilit.local/sources/tis-wapttest-wapt/trunk
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:31:58.712761

  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/>.
#
# -----------------------------------------------------------------------

import platform
from setuphelpers import *
import win32api

uninstallkey = ['Exodus']
uninstallstring= []

exefile = os.path.join(programfiles32,'Exodus','Exodus.exe')

def install():
    global uninstallkey
    print("installing Exodus")
    run(r'exodus_0.10.0.0.exe /S')
    create_programs_menu_shortcut('Exodus',exefile)
    filecopyto('exodus.xml',makepath(programfiles32,'Exodus','exodus.xml'))

def session_setup():
    try:
        data = {
            'username':get_current_user(),
            'servername':get_domain_fromregistry(),
            'hostname':get_computername(),
            'nickname':win32api.GetUserNameEx(3)
            }
    except:
        data = {
            'username':get_current_user(),
            'servername':get_domain_fromregistry(),
            'hostname':get_computername(),
            'nickname':get_current_user()
            }

    exodus_xml = open(makepath(programfiles32,'Exodus','exodus.xml'),'rb').read() % data
    user_xml_path = makepath(user_appdata(),'exodus','Exodus.xml')
    if not os.path.isfile(user_xml_path):
        ensure_dir(user_xml_path)
        open(user_xml_path,'wb').write(exodus_xml)
    #import win32ui,win32con
    #if win32ui.MessageBox(u"Voulez-vous lancer le client de messagerie instantanée Exodus ?", "Exodus Jabber Client", win32con.MB_YESNOCANCEL) == win32con.IDYES:
    #    os.startfile(exefile)


										

  Changelog 


No changelog
  manifest.sha256 
[["Exodus.xml","5d635d35cea9861295f0c9bd25bbef8634f0abeeb396abf4c022964ad5d377e7"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["exodus_0.10.0.0.exe","2cef438ed4ea36f0cd27c91bbaa18e2e62b3da4f043378550a85a2439a1b6418"],["setup.py","e7e3172c9867a9bb938928291b469d27fdb736a38b1fa1dcffb6277dc6a48f17"],["WAPT/control","e702403c22581a6a6b5b5f5344a7f3002158be75c9729d28b4254c2cd2cfe75c"],["WAPT/wapt.psproj","bc34bb5f85d78dffc7effd37bd0639580a0e140c155973c04d79eb9aa31eb57a"]]