tis-plantronics-hub icon

Plantronics Hub

Paquet d’installation silencieuse pour Plantronics Hub

3.25.54307.37251-9

  • package: tis-plantronics-hub
  • name: Plantronics Hub
  • version: 3.25.54307.37251-9
  • categories: Drivers,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Plantronics, Inc.
  • licence: Freeware
  • locale: all
  • target_os: windows
  • impacted_process: PLTHub
  • architecture: all
  • signature_date:
  • size: 131.13 Mo
  • installed_size: 180.49 Mo
  • homepage : https://www.poly.com/
  • depends:

package           : tis-plantronics-hub
version           : 3.25.54307.37251-9
architecture      : all
section           : base
priority          : optional
name              : Plantronics Hub
categories        : Drivers,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Plantronics Hub is a client application that allows users to control the settings on their Plantronics audio device
depends           : tis-dotnetfx
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.poly.com/us/en/support/downloads-apps/hub-desktop
installed_size    : 180490240
impacted_process  : PLTHub
description_fr    : Plantronics Hub est une application client permettant aux utilisateurs finaux de contrôler les paramètres de leur périphérique audio Plantronics
description_pl    : Plantronics Hub to aplikacja kliencka, która pozwala użytkownikom kontrolować ustawienia w ich urządzeniu audio Plantronics
description_de    : Plantronics Hub ist eine Client-Anwendung, mit der Benutzer die Einstellungen ihres Plantronics-Audiogeräts steuern können
description_es    : Plantronics Hub es una aplicación cliente que permite a los usuarios controlar los ajustes de su dispositivo de audio Plantronics
description_pt    : Plantronics Hub é uma aplicação cliente que permite aos utilizadores controlar as definições no seu dispositivo de áudio Plantronics
description_it    : Plantronics Hub è un'applicazione client che consente agli utenti di controllare le impostazioni del proprio dispositivo audio Plantronics
description_nl    : Plantronics Hub is een client-toepassing waarmee gebruikers de instellingen op hun Plantronics-audioapparaat kunnen beheren
description_ru    : Plantronics Hub - это клиентское приложение, которое позволяет пользователям управлять настройками аудиоустройства Plantronics
audit_schedule    : 
editor            : Plantronics, Inc.
keywords          : plantronics,hub,audio,device,soft,phone
licence           : Freeware
homepage          : https://www.poly.com/
package_uuid      : 3b333bbf-8729-4aa1-8418-47b9feac29c2
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.plantronics.com/us/en/support/knowledge-base/kb-article-page?type=Product_Information__kav&lang=en_US&urlName=Hub-Release-Notes&t=All&k=hub%20release%20notes
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : c8cd10a9145285467ded8dc6473fa07575f538eae6b60f9838d6ac209d525e1f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : DmFjNecLuFMd1OGX1AH0wsH3G+6RIlV0S7IwTxYPPuQ9y3SxF5Yglu0RxUNZgCykzBJWjoW1pvzywljn7L+5yfF0qOWvvnb1vSOPgLU48tIIxAM6vAITqY6G5R+ceTrT51NxxG710fBf0qRTHQZqMbVwyUeMVI8tTkLc0+siqo9If9reaN5rZEFbdT+p/lb3oDEcFcnM+5JBet9Dk4D7Tcb2xWFwCZCpZgUySIEp3An5vUmm1hJKG2/0ZUC3GjggzszHgObltt/DVW5PmtqlGxT4ab+LqPfzZuuKJMcPPBEUxw99z4Onag0otu+HoIMX52zU5Hg55UQUkm0t69E1WQ==
signature_date    : 2024-05-27T09:03:02.498367
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

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


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*PlantronicsHubInstaller*.exe")[0]

    # Installing the package
    print("Installing: %s (%s)" % (bin_name, package_version))
    install_exe_if_needed(
        bin_name,
        silentflags="/install /quiet /norestart",
        name="Plantronics Hub Software",
        min_version=package_version,
    )

    # Disable update check
    set_service_start_mode("PlantronicsUpdateService", "Manual")


def uninstall():
    # Uninstalling the package
    for uninstall in installed_softwares(name="Plantronics Hub Software"):
        print("Removing: %s" % (uninstall["name"]))
        run(uninstall_cmd(uninstall["key"]))
    for uninstall in installed_softwares(name="OldMHUUninstallerMSI"):
        print("Removing: %s" % (uninstall["name"]))
        run(uninstall_cmd(uninstall["key"]))
    for uninstall in installed_softwares(name="OldMHUUninstaller"):
        print("Removing: %s" % (uninstall["name"]))
        run(uninstall_cmd(uninstall["key"]))

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "PlantronicsHubInstaller"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    bin_temp = "PlantronicsHubInstaller.exe"
    url_dl = "https://downloads.poly.com/headsets/PlantronicsHubInstaller.exe"

    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if isfile(bin_temp):
        remove_file(bin_temp)
    if not isfile(bin_temp):
        print("Downloading: %s" % bin_temp)
        wget(url_dl, bin_temp, proxies=proxies)

        # Checking version from file
        version = control.get_software_version()
        version_from_file = get_version_from_binary(bin_temp)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    for exe in glob.glob('*.exe'):
        if get_version_from_binary(exe) != Version(version):
            remove_file(exe)

    # Validating or not update-package-sources
    return result

25f2cba077792cb12214e0eb6bdca01dba792f689aadf66d04aefb5140e306bb : setup.py
e386741608604faea8ebb51c8c6bcdbf5493ff006968f0234751745e5ec5cd4c : PlantronicsHubInstaller.exe
74ee1ea2839e3d6f6e04d8520967243537808f9ebb1b6902af2d5230b037217a : update_package.py
c8cd10a9145285467ded8dc6473fa07575f538eae6b60f9838d6ac209d525e1f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
ef7971ea30a6a15f44e93f482400423c835a9c70005f30743e2c4dddb7d99068 : luti.json
b2b7a58797eec0bc5d6d9bdd75426c26105416cff19e73c85a4382359bc0c7ae : WAPT/control