tis-microsoft-teams-uwp

24004.1307.2669.7070-64
Microsoft Teams, also referred to as simply Teams, is a unified communication and collaboration platform that combines persistent workplace chat, video meetings, file storage (including collaboration on files)
10363 downloads
Download
See build result See VirusTotal scan
tis-microsoft-teams-uwp icon
  • package : tis-microsoft-teams-uwp
  • name : Microsoft Teams (work or school)
  • version : 24004.1307.2669.7070-64
  • categories : Office
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor :
  • licence : proprietary_free,wapt_public
  • locale : all
  • target_os : windows
  • impacted_process : ms-teams,ms-teamsupdate,msteams_autostarter,msteams_canary
  • architecture : x64
  • signature_date : 2024-03-03 17:02
  • size : 132.40 Mo
  • installed_size : 188.37 Mo
  • depends :
package           : tis-microsoft-teams-uwp
version           : 24004.1307.2669.7070-64
architecture      : x64
section           : base
priority          : optional
name              : Microsoft Teams (work or school)
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Microsoft Teams, also referred to as simply Teams, is a unified communication and collaboration platform that combines persistent workplace chat, video meetings, file storage (including collaboration on files)
depends           : tis-webview2
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://apps.microsoft.com/store/detail/XP8BT8DW290MPQ
installed_size    : 188367205
impacted_process  : ms-teams,ms-teamsupdate,msteams_autostarter,msteams_canary
description_fr    : Microsoft Teams, aussi simplement appelé Teams, est une plate-forme de communication et de collaboration unifiée qui combine le chat, les réunions vidéo, le stockage de fichiers (comprend la collaboration sur les fichiers)
description_pl    : Instalacja w całym systemie (zapobieganie instalacji na użytkownika) - Microsoft Teams, określany również jako po prostu Teams, jest platformą ujednoliconej komunikacji i współpracy, która łączy czat w miejscu pracy, spotkania wideo, przechowywanie plików (w tym współpracę nad plikami)
description_de    : Systemweite Installation (verhindert die Installation pro Benutzer) - Microsoft Teams, auch einfach als Teams bezeichnet, ist eine einheitliche Kommunikations- und Kollaborationsplattform, die einen dauerhaften Arbeitsplatz-Chat, Videokonferenzen, Dateispeicherung (einschließlich der Zusammenarbeit an Dateien)
description_es    : Instalación en todo el sistema (evita la instalación por usuario) - Microsoft Teams, también denominada simplemente Teams, es una plataforma de comunicación y colaboración unificada que combina el chat persistente en el lugar de trabajo, las reuniones de vídeo, el almacenamiento de archivos (incluida la colaboración en archivos)
description_pt    : Instalação a nível do sistema (impedir a instalação por utilizador) - Equipas Microsoft, também referidas como simplesmente Equipas, é uma plataforma unificada de comunicação e colaboração que combina chat persistente no local de trabalho, reuniões em vídeo, armazenamento de ficheiros (incluindo colaboração em ficheiros)
description_it    : Installazione a livello di sistema (impedisce l'installazione per utente) - Microsoft Teams, indicato anche come semplicemente Teams, è una piattaforma di comunicazione e collaborazione unificata che combina chat persistenti sul posto di lavoro, riunioni video, archiviazione di file (compresa la collaborazione su file)
description_nl    : Installatie voor het hele systeem (voorkomt installatie per gebruiker) - Microsoft Teams, ook wel gewoon Teams genoemd, is een platform voor verenigde communicatie en samenwerking dat permanente chat op de werkplek, videovergaderingen, bestandsopslag (inclusief samenwerking aan bestanden) combineert
description_ru    : Установка по всей системе (предотвращение установки на одного пользователя) - Microsoft Teams, также называемая просто Teams, представляет собой платформу унифицированных коммуникаций и совместной работы, которая объединяет постоянный чат на рабочем месте, видеовстречи, хранение файлов (включая совместную работу над файлами)
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_free,wapt_public
homepage          : 
package_uuid      : 81eed202-e2be-4693-b83f-e9a5aab6af60
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : e6fc329501c75552f2c2094e6054e35cec9a2174c09c135ad87b9ecaffb9a317
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Bh5mZNV9LAmDapW8z3k1C+JxwxKlxPHc/F4RFJ69JiFDqfCatVodTolQdQ2/ZsCctduKpQ2EsFUclK3guIalwZb+Z0QimtwOpUSjmj5Jdd3vifcMJe+FKHpU26x7c51b/XdwB74SJyv7PBnV3H3JVpBqnInY+/sPt5IAo+rUaf8BRfe2QtkpUdUODGZNt//RF48V0aNe3e08NhPKZ9pJYEWpHPMIZpyG/1gTvQAR3WDlFXs1/jMvkwSBhLACE13LaRNaE5z3yUZh92dzh3kVSoA9LU1I7IYTg6cOVFpDPuCf/tY9Xbj8HjBC3aWd0c4XQGLVILYTKnqeIdWVlQbmIw==
signature_date    : 2024-03-03T17:02:11.852379
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 *


appx_package_name = "MSTeams"
appx_dir = makepath(programfiles, "WindowsAppsInstallers")


def install():
    # Declare local variables
    bin_path = glob.glob(f"{appx_package_name}*.msix")[0]
    add_appx_cmd = f'Add-AppxProvisionedPackage -Online -PackagePath "{bin_path}" -SkipLicense'

    # Installing the UWP application if needed
    appxprovisionedpackage = run_powershell(f'Get-AppXProvisionedPackage -Online | Where-Object DisplayName -Like "{appx_package_name}"')
    if appxprovisionedpackage is None:
        remove_appx(appx_package_name, False)
        appxprovisionedpackage = {"Version": "0"}
    elif force:
        uninstall()
    if Version(appxprovisionedpackage["Version"], 4) < Version(control.get_software_version(), 4):
        print(f"Installing: {bin_path.split(os.sep)[-1]} ({control.get_software_version()})")
        killalltasks(ensure_list(control.impacted_process))
        run_powershell(add_appx_cmd, output_format="text")
    else:
        print(f'{appxprovisionedpackage["PackageName"]} is already installed and up-to-date.')


def uninstall():
    print(f"Removing AppX: {appx_package_name}")
    remove_appx(appx_package_name)


def audit():
    # Declaring local variables
    audit_result = "OK"
    audit_version = True
    appxprovisionedpackage = run_powershell(f'Get-AppXProvisionedPackage -Online | Where-Object DisplayName -Like "{appx_package_name}"')

    # Auditing software
    if appxprovisionedpackage is None:
        print(f"{appx_package_name} is not installed.")
        audit_result = "ERROR"
    elif audit_version:
        if Version(appxprovisionedpackage.get("Version", "0"), 4) < Version(control.get_software_version(), 4):
            print(
                f'{appxprovisionedpackage["PackageName"]} is installed in version: {appxprovisionedpackage["Version"]} instead of: {control.get_software_version()}.'
            )
            audit_result = "WARNING"
        else:
            print(f'{appxprovisionedpackage["PackageName"]} is installed and up-to-date.')
    else:
        print(f'{appxprovisionedpackage["PackageName"]} is installed.')

    return audit_result


def remove_appx(package, default_user=True):
    """Remove Windows AppX package from the computer environment, excluding NonRemovable packages.

    Args:
        package (str): AppX package name. You can use an asterisk (*) as a wildcard.
        default_user (bool): Remove AppX package from the Windows image to prevent installation for new users.

    .. versionadded:: 2.2

    .. versionchanged:: 2.5
        No longer try to remove NonRemovable AppX package

    """
    if running_as_admin() or running_as_system():
        if default_user:
            run_powershell(
                f'Get-AppXProvisionedPackage -Online | Where-Object DisplayName -Like "{package}" | Remove-AppxProvisionedPackage -Online -AllUsers',
                output_format="text",
            )
        run_powershell(
            r'Get-AppxPackage -Name "%s" -AllUsers | Where-Object {{ -not ($_.NonRemovable) }} | Remove-AppxPackage -AllUsers' % package,
            output_format="text",
        )
    else:
        run_powershell(r'Get-AppxPackage -Name "%s" | Where-Object {{ -not ($_.NonRemovable) }} | Remove-AppxPackage' % package, output_format="text")
# -*- 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()
    download_dict = {
        "windows-x64": "https://statics.teams.cdn.office.net/production-windows-x64/enterprise/webview2/lkg/MSTeams-x64.msix",
        "windows-x86": "https://statics.teams.cdn.office.net/production-windows-x86/enterprise/webview2/lkg/MSTeams-x86.msix",
        "windows-arm64": "https://statics.teams.cdn.office.net/production-windows-arm64/enterprise/webview2/lkg/MSTeams-arm64.msix",
    }
    download_url = download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    remove_outdated_binaries("*")

    # Downloading latest binaries
    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)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_bin = unzip(latest_bin, ".", "ms-teams.exe")[0]
        version = get_version_from_binary(version_bin)
        remove_file((version_bin))
    else:
        version = control.get_software_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 update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)
dc4353b2ea53179a5c839d0c75dc7bc513ba7b0ab74c38019e085cafb6a9d58d : setup.py
 : __pycache__
119e267a3f432b50442d1b0dfad3097455d05408fd80103cbc2fdd294992e3ee : update_package.py
e6fc329501c75552f2c2094e6054e35cec9a2174c09c135ad87b9ecaffb9a317 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b9d9cad435101877eb475bce037a2b33df638a161824d4f2ddb5e5f0057f025c : luti.json
aba78b34b5e0bfd29aed18a86a926427b17127d80457c829c1512534510e7cd2 : MSTeams-x64.msix
1845f17b6320cc55ea3157c01da6443ac21f5928ea9808401703ab521e7f2edf : WAPT/control