tis-zoiper icon

Zoiper

Paquet d’installation silencieuse pour Zoiper

5.6.9-2

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

package           : tis-zoiper
version           : 5.6.9-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      : b3713c6f-5205-4440-9b92-033699012512
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    : 2025-06-02T16:13:49.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         : JW6aIkaJSNK+cygMjk0Ym8VQiDN8TTSTMuQCAx01nvhHPpR21ggXhdOXranwfozc9OeTS/rKEPFdcwz/XNERAdz7E2SRfujLqub5OA0o/BG1RVnYdpi2XtqMFlIovYLjZzJgyWAQURs7VOS2Tl0EnTOYks9FK4ViCjzxYNx9Xm1Om+dI/l1BUbpMrf8ZP6fUBfFUaHup126B2Zf1bsRC3K49cSeGo9AuG+75a/txtKi5QXsJndGPhLTNInHl2cXbkakC+rXPaTgoq7EX8Rqx1VpgOdix9FFY+NmCPzQG0PvA2pkPAxtqOBkzE82zm3dOivuojQsVdc162xmOIDkbfw==

# -*- 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():
    install_bin = glob.glob("Zoiper*.exe")[0]
    app_uninstallkey = "Zoiper%s" % str(Version(control.get_software_version(),1))
    install_exe_if_needed(
        install_bin,
        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].replace("v","")
    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
41e2043482f3162050d15a78d85c8ba5c0984674784ca318fd7946410aeababa : WAPT/control
39ff705f86674af81f6935f910358da241ae267265fdfc01a9314f1f49787a87 : WAPT/icon.png
b0e9c4fa9a1b4370c4a21fbfa807b1e5939cc44c0654381d58cdc7cbf125e3bb : Zoiper5_Installer_v5.6.9.exe
a5142637d2592dfaaf3cff4aae14f30736a6396b544ec523e3d5e7cb43fbaecf : luti.json
11db74fc0fdfec54e0f263ba03031f479acd94c0321a2a1def13a58d98e5daff : setup.py
3ffae293668e0b2d22bafbc09ff2c3e0bee3ec89cb87cc0f194001138bcae3cc : update_package.py