tis-plantronics-hub icon

Plantronics Hub

Paquet d’installation silencieuse pour Plantronics Hub

3.25.54307.37251-10

  • package: tis-plantronics-hub
  • name: Plantronics Hub
  • version: 3.25.54307.37251-10
  • 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.12 Mo
  • installed_size: 180.49 Mo
  • homepage : https://www.poly.com/
  • depends:

package           : tis-plantronics-hub
version           : 3.25.54307.37251-10
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      : af02a5b6-72fd-492c-85f2-22437908b495
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_date    : 2024-12-07T09:11:30.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         : nz9j+6D3sWcx54vC0fZtBDFaYh5i1YB/eEkKKzhhFr+umlFOOgjuGy5uHfzlvBwAkiTVwlPz1kQWrbG5dS+9NWbkKFEaZGfF+ooZoNFlctygLGQNpawfpUCMt3gTN96cwQwyRzSpiQnijVRCuzLyFLu9Qjy0N6RxfzjYO3l4bqnPKSkayEmXYIDWLLBk+F4614WG04lnxAPRhsLah5EeDQrRIlaRy36lNOf+c9StkkQjDcHCKJtyCoqYitI72PoYHrssKC4ma9zQM65VAWAgW4z+aaVuUN5B9XPxGWox5jXPP2yEM1BUiVysq+0RA1lYjLm3AmOmsvz4ukP1kw6GJg==

# -*- 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)
        # Temporary disabling of certificate verification because they have not renewed their certificate ...
        wget(url_dl, bin_temp, proxies=proxies, verify_cert=False)

        # 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

e386741608604faea8ebb51c8c6bcdbf5493ff006968f0234751745e5ec5cd4c : PlantronicsHubInstaller.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
46660ad7a419e1ea7af58df6ed1ba5faeb62328f758041e88d0afb6afc4fecef : WAPT/control
c8cd10a9145285467ded8dc6473fa07575f538eae6b60f9838d6ac209d525e1f : WAPT/icon.png
f4de6aefb0b8527fa9178a2e9ec1ac7083f8777838504106e2edef2d44ec646f : luti.json
25f2cba077792cb12214e0eb6bdca01dba792f689aadf66d04aefb5140e306bb : setup.py
fa4e7850250c8bf39f3b2b227fc179bfb0bd37cc04d7bde609386217adf6a0fc : update_package.py