tis-zoiper icon

Zoiper

Paquet d’installation silencieuse pour Zoiper

5.6.5-2

  • package: tis-zoiper
  • name: Zoiper
  • version: 5.6.5-2
  • maintainer: AFRADJ
  • licence: Maximum allowed resets per license - 1 for 7 days
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 222.55 Mo
  • homepage : https://www.zoiper.com/

package           : tis-zoiper
version           : 5.6.5-2
architecture      : all
section           : base
priority          : optional
name              : Zoiper
categories        : 
maintainer        : AFRADJ
description       : Zoiper is a FREE IAX and SIP phone app for VoIP calls over 3G or WiFi
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Zoiper est une application de téléphonie IAX et SIP GRATUITE pour les appels VoIP via 3G ou WiFi.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : Zoiper5
licence           : Maximum allowed resets per license - 1 for 7 days
homepage          : https://www.zoiper.com/
package_uuid      : ece5ad9d-39ba-458c-9d02-b7a15cd03180
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 39ff705f86674af81f6935f910358da241ae267265fdfc01a9314f1f49787a87
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-02T18:00:48.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : bDThzWEoAd+WjON9CHJluF6e0AtiZCSknM49RTodtb5lnV+mMRVkKZi0nO5LYN6lsWHmHd321v/KBjVwvzxfKw5fjsid2Sy/7BjsmE4o4zphpS9JeUkrltdUMnnQ7ypLa9/nSx+raDcInmjM1LyNJ1Tel7UXN12ZC1REcrvR32CKTtkD59FYrU4bwJFnwCwzGIr1L8gDDLz57IvO+CzmnJKwCItvSIqVLhpPCM2xF7URs01cROElOPPa+a86N6h0hvSVx9pJPZnHWlB1A6R8IHyZzQYRELu9bbDLLFPUUlvZ6iRqDSCtPc9TNwvNpQ3uZDooKBLqOppWPx0vEDu2FQ==

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

"""
Zoiper5 5.6.4
Usage:

 --help                                                            Display the list of valid options

 --version                                                         Display product information

 --unattendedmodeui <unattendedmodeui>                             Unattended Mode UI
                                                                   Default: none
                                                                   Allowed: none minimal minimalWithDialogs

 --optionfile <optionfile>                                         Installation option file
                                                                   Default: 

 --debuglevel <debuglevel>                                         Debug information level of verbosity
                                                                   Default: 2
                                                                   Allowed: 0 1 2 3 4

 --mode <mode>                                                     Installation mode
                                                                   Default: win32
                                                                   Allowed: win32 unattended

 --debugtrace <debugtrace>                                         Debug filename
                                                                   Default: 

 --enable-components <enable-components>                           Comma-separated list of components
                                                                   Default: Core_Files,desktop_shortcut
                                                                   Allowed: desktop_shortcut

 --disable-components <disable-components>                         Comma-separated list of components
                                                                   Default: 
                                                                   Allowed: desktop_shortcut

 --installer-language <installer-language>                         Language selection
                                                                   Default: en
                                                                   Allowed: en

 --prefix <prefix>                                                 Installation Directory
                                                                   Default: ***infinite recursion in variable installdir***

 --StartMenuFolderInput <StartMenuFolderInput>                     
                                                                   Default: ***unknown variable zoiper.application_generic_name***

 --DoOrDontCreateStartMenuFolder <DoOrDontCreateStartMenuFolder>   Don't Create Start Menu Folder.
                                                                   Default: 0

 --selectedArchitecture <selectedArchitecture>                     
                                                                   Default: ***unknown variable defaultbitversion***
                                                                   Allowed: 32 64

 --zoiper_alluser_installation <zoiper_alluser_installation>       
                                                                   Default: 1
                                                                   Allowed: 1 0

{
    "key": "Zoiper5",
    "name": "Zoiper5",
    "version": "5.6.4",
    "install_date": "2024-04-15 00:00:00",
    "install_location": "C:\\Program Files (x86)\\Zoiper5",
    "uninstall_string": '"C:\\Program Files (x86)\\Zoiper5\\Uninstall.exe"',
    "publisher": "Securax Ltd.",
    "system_component": 0,
    "win64": false,
}

--selectedArchitecture 64 # do not seem to work

"""


def install():
    app_uninstallkey = "Zoiper%s" % str(Version(control.get_software_version(),1))
    install_exe_if_needed(
        "Zoiper_Installer_%s.exe" % control.get_software_version(),
        silentflags="--mode unattended --unattendedmodeui none ",
        key=app_uninstallkey,
        min_version=control.get_software_version(),
    )
    
    # Adding QuietUninstallString
    quiet_uninstall_string = installed_softwares(uninstallkey=app_uninstallkey)[0]["uninstall_string"] + " --mode unattended"
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import requests
import time


def update_package():
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()


    requests_session = requests.Session()
    requests_session.proxies=proxies
    requests_session.trust_env=False
    requests_session.get('https://www.zoiper.com/en/voip-softphone/download/current')
    time.sleep(3)
    data = requests_session.head('https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/windows')


    streamwget = requests_session.get('https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/windows', stream=True )
    chunk = streamwget.raw.read(0)
    streamwget.close()

    filename = streamwget.headers.get('Content-Disposition').split('"')[-2]
    last_version = filename.split('_')[-1].split('.exe')[0]
    download_url = "https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/windows"
    if not isfile(filename):
        wget(download_url, filename, requests_session=requests_session)

    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)

    control.set_software_version(last_version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
917a754d960acf68036022eb6e4dc17827631377acfc83a02f413e0d56b7175f : WAPT/control
39ff705f86674af81f6935f910358da241ae267265fdfc01a9314f1f49787a87 : WAPT/icon.png
360e8e63b90b4fc10b2ca7498b65bd96852f7b97ef5c4bbb69ace67c85645eb3 : Zoiper_Installer_5.6.5.exe
48493cf2e1d7919ee2b09257e062acda2492c65f84c03b5cfc2ecd2a0cec3804 : luti.json
e1fac159760e2e0884004671c19f0025a056f097d43ad70b290a541f78929119 : setup.py
718c1c375980a70056b221275ba752570c9aa2fc13951216eda29635505bd678 : update_package.py