tis-tixeo-communication-client

16.5.0.0-9
Tixeo Communication Client is a secure video conferencing tool that is using a client-to-client encryption
1986 downloads
Download

  Description 

  • package : tis-tixeo-communication-client
  • version : 16.5.0.0-9
  • architecture : all
  • categories : Media
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELE
  • description : Tixeo Communication Client is a secure video conferencing tool that is using a client-to-client encryption
  • locale : all
  • target_os : windows
  • min_wapt_version : 1.7
  • sources :
  • installed_size :
  • impacted_process : W3DClient
  • description_fr : Tixeo Communication Client est un outil de visioconférence sécurisée qui utilise un chiffrement de client à client
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : TIXEO
  • licence : Proprietary
  • signature_date : 2021-04-29T16:47:18.759454
  • Homepage : https://www.tixeo.com/visioconference-securisee/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import time

uninstallkey = []

# Declaring specific app values (TO CHANGE)
app_name = 'Tixeo Communication Client'
bin_zip_string = 'TixeoClient_%s.zip'
processes_to_kill = 'W3DClient'
app_sys_dir_publisher = makepath(programfiles32,'Tixeo Soft')
app_sys_dir_short = makepath(programfiles32,'Tixeo Soft','Communication')
app_sys_dir = makepath(app_sys_dir_short,'Client')
app_sys_dir_temp = makepath(app_sys_dir_short,'TixeoClient')
app_sys_path = makepath(app_sys_dir,'W3DClient.exe')


def install():
    # Specific app values
    package_version = control.version.split('-')[0]

    # Installing the package
    if isdir(app_sys_dir):
        remove_tree(app_sys_dir)
        mkdirs(app_sys_dir_short)
    unzip(bin_zip_string % package_version,target=app_sys_dir_short)
    os.rename(app_sys_dir_temp,app_sys_dir)

    create_programs_menu_shortcut(app_name,app_sys_path)


def uninstall():
    # Uninstalling the package
    killalltasks(processes_to_kill)
    remove_tree(app_sys_dir)
    if dir_is_empty(app_sys_dir_short):
        remove_tree(app_sys_dir_short)
    if dir_is_empty(app_sys_dir_publisher):
        remove_tree(app_sys_dir_publisher)
    remove_programs_menu_shortcut(app_name)


def session_setup():
    # Specific app values
    app_user_dir = makepath(user_local_appdata,'Tixeo Soft','Communication','Client')
    app_user_dir_publisher = makepath(user_local_appdata,'Tixeo Soft')
    app_user_dir_short = makepath(user_local_appdata,'Tixeo Soft','Communication')
    app_user_updater = makepath(app_user_dir,'upd.exe')
    app_user_uninstaller = makepath(app_user_dir,'unins001.exe')
    app_user_uninstall_cmd = '"%s" %s' % (app_user_uninstaller,' /silent')

    if isdir(app_user_dir_publisher):
        try:
            killalltasks(processes_to_kill)
            print('Running: '+ app_user_uninstall_cmd)
            run(app_user_uninstall_cmd)
        except:
            print('The uninstallation in user environnement probably passed even with errors')

        time.sleep(10)
        remove_tree(app_user_dir)
        if dir_is_empty(app_user_dir_short):
            remove_tree(app_user_dir_short)
        if dir_is_empty(app_user_dir_publisher):
            remove_tree(app_user_dir_publisher)
        remove_user_programs_menu_shortcut(app_name)
        remove_user_desktop_shortcut(app_name)

    if reg_value_exists(HKEY_CURRENT_USER,r'SOFTWARE\Microsoft\Windows\CurrentVersion\Run','W3DClient'):
        print('Disabling: Run at Startup')
        registry_delete(HKEY_CURRENT_USER,r'SOFTWARE\Microsoft\Windows\CurrentVersion\Run','W3DClient')


def update_package():
    print('Download/Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    # Specific app values
    bin_zip_name = 'TixeoClient.zip'
    url_dl_zip = 'https://cloud.tixeo.com/meet-static/dl/client/TixeoClient.zip'
    #url_dl = 'https://cloud.tixeo.com/meet-static/dl/client/TixeoClientW3D.exe'

    print('Download url is: ' + url_dl_zip)

    # Downloading latest binaries
    if isfile(bin_zip_name):
        remove_file(bin_zip_name)
    if not isfile(bin_zip_name):
        print('Downloading: ' + bin_zip_name)
        wget(url_dl_zip,bin_zip_name,proxies=proxy)

        # Unzip to get file version
        unzip(bin_zip_name,target='tixeo_temp',filenames=r'TixeoClient\W3DClient.exe')

        # Checking version from file
        version_from_file = get_file_properties(r'tixeo_temp\TixeoClient\W3DClient.exe')['FileVersion']
        version = version_from_file
        latest_bin_zip = bin_zip_string % version
        if isfile(latest_bin_zip):
            remove_file(latest_bin_zip)
        os.rename(bin_zip_name,latest_bin_zip)
        print('Verified latest ' + app_name + ' version is: ' + version)

        # Removing temp folder
        remove_tree('tixeo_temp')

		# Changing version of the package
        pe = PackageEntry().load_control_from_wapt('.')
        pe.version = '%s-%s'%(version,int(pe.version.split('-',1)[1])+1)
        pe.save_control_to_wapt('.')
        print('Changing version to ' + pe.version + ' in WAPT\\control')
        print('Update package done. You can now build-upload your package')
    else:
        print('This package is already up-to-date')

    # Deleting outdated binaries
    for bin_in_dir in glob.glob('*.exe') or glob.glob('*.msi') or glob.glob('*.zip'):
        if bin_in_dir != latest_bin_zip :
            print('Outdated binary: ' + bin_in_dir + ' Deleted')
            remove_file(bin_in_dir)





										

  Changelog 



No changelog.txt.
									
  manifest.sha256