tis-zimbra-connector-outlook

9.0.0.1941-3
Connecteur Zimbra pour Microsoft Outlook
3274 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-zimbra-connector-outlook icon
  • package : tis-zimbra-connector-outlook
  • name : Zimbra Connector for Microsoft Outlook
  • version : 9.0.0.1941-3
  • categories : Messaging
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor : Synacor, Inc.
  • licence : opensource_free,wapt_public
  • locale : all
  • target_os : windows
  • impacted_process :
  • architecture : x86
  • signature_date : 2024-01-17 17:03
  • size : 20.06 Mo
package           : tis-zimbra-connector-outlook
version           : 9.0.0.1941-3
architecture      : x86
section           : base
priority          : optional
name              : Zimbra Connector for Microsoft Outlook
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Zimbra Connector for Microsoft Outlook
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Connecteur Zimbra pour Microsoft Outlook
description_pl    : Konektor Zimbra dla programu Microsoft Outlook
description_de    : Zimbra-Anschluss für Microsoft Outlook
description_es    : Conector Zimbra para Microsoft Outlook
description_pt    : Conector Zimbra para Microsoft Outlook
description_it    : Connettore Zimbra per Microsoft Outlook
description_nl    : Zimbra Connector voor Microsoft Outlook
description_ru    : Коннектор Zimbra для Microsoft Outlook
audit_schedule    : 
editor            : Synacor, Inc.
keywords          : 
licence           : opensource_free,wapt_public
homepage          : 
package_uuid      : e4777434-3604-48ba-91e1-e75891018e7a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 90ac460efa93228803d354e7f837c8d6e3505a1ea76a0676452b97af07038107
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : IXE/cO5wOIfL19Ya+bU8cmXMZZ4ynblq6FbJ1vNa69HD2umuxNsWeZOsaLUai1Ys4vX7+eq50Lig44ibEcOikNFUqGDYkYreRCMRU+h9uJpgZMCUwBqHilg3Qf6N2DTh9poEAS4tWXR6Yb87ZJ9KuWuCjaOAMZbRfLpI3zLSHFgWO9Dszx4kLJnnC1cJ0JJHX9tFziAwV5TI9v7PE9i6gu+O9nP0BIcPOZ8kqzG0VY5mVEZDIQipHxTRpsSENUopG7vvR0KJ+k3eEf6XMIaWZFbLP//NQQ5a7Jw8gYkX1eUifEt7FObGRW7BHJK99MVNFn0cdOrpMNzNNzXoiqvFFg==
signature_date    : 2024-01-17T17:03:24.654448
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 *

"""
{
    "key": "{89D59DBA-173A-4D13-8AB9-606F132F70FE}",
    "name": "Zimbra Connector for Microsoft Outlook",
    "version": "9.0.0.1941",
    "install_date": "2024-01-12 00:00:00",
    "install_location": "",
    "uninstall_string": "MsiExec.exe /I{89D59DBA-173A-4D13-8AB9-606F132F70FE}",
    "publisher": "Synacor, Inc.",
    "system_component": 0,
    "win64": true,
}

"""


def install():
    bin_name = glob.glob("ZimbraConnectorOLK_*.msi")[0]
    if "x64" in control.architecture:
        app_uninstallkey = "{89D59DBA-173A-4D13-8AB9-606F132F70FE}"
    else:
        app_uninstallkey = "{7B50AD56-1BE7-4006-97E2-B6969930BB5F}"
    try:
        # Installing the software
        install_msi_if_needed(
            bin_name,
            min_version=control.get_software_version(),
            timeout=300,
            key=app_uninstallkey,
        )
    except Exception as e:
        if e.returncode == 1603:
            print(f"INFO: Microsoft Outlook needs to be installed.")
            error(e)
        else:
            error(e)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {
        "bin_contains": {
            "windows-x64": "_x64.msi",
            "windows-x86": "_x86.msi",
        },
    }
    url = "https://www.zimbra.com/product/addons/zimbra-connector-for-outlook-download/"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "rel", "noopener", proxies=proxies):
        if update_dict["bin_contains"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}'] in bs_search.get(
            "href", ""
        ):
            download_url = bs_search["href"]
            latest_bin = download_url.split("/")[-1]
            version = latest_bin.split("_")[1]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

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

    # Validating or not update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)
a8f8baa4ef8c823ec3b7c4f357db0d0a460728e13b100c47320062d89b67dc25 : setup.py
 : __pycache__
ab3377e53931f17ecced3169b1bb8803a51138fbdb1c02ecd75da9b3dd2d5e6a : update_package.py
90ac460efa93228803d354e7f837c8d6e3505a1ea76a0676452b97af07038107 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
49852b1abfdfaccc0c8d8699bb8c86db5638250340bb6de2aa67d4801a1eb194 : luti.json
51e13f546a2914d06a953a2a4e741b1c70ce4bc2d1cb7c2824259194d9d12241 : ZimbraConnectorOLK_9.0.0.1941_x86.msi
e2c0a018087a495ea19dd80ab8a4dae1baab82f7ce2bd69409334373a9d7bab6 : WAPT/control