tis-microsoft-teams-uwp icon

Microsoft Teams (work or school)

Paquet d’installation silencieuse pour Microsoft Teams (work or school)

26005.213.4315.4117-74
Office
Office

  • package: tis-microsoft-teams-uwp
  • name: Microsoft Teams (work or school)
  • version: 26005.213.4315.4117-74
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Microsoft
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: ms-teams,ms-teamsupdate,msteams_autostarter,msteams_canary
  • architecture: x64
  • signature_date:
  • size: 248.52 Mo
  • installed_size: 188.37 Mo
  • depends:

package           : tis-microsoft-teams-uwp
version           : 26005.213.4315.4117-74
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            : Microsoft
keywords          : collaboration,meetings,video
licence           : proprietary_free,wapt_public
homepage          : 
package_uuid      : 7a93e018-e09a-4be2-91f5-3c6d22f191bf
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0.19041
max_os_version    : 
icon_sha256sum    : e6fc329501c75552f2c2094e6054e35cec9a2174c09c135ad87b9ecaffb9a317
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-12T17:00:43.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         : kxsjZL1jdUQuSEIU6XlY4oeLY/p2KCzTD8nHrO+oYghu3hIRNfPAAgpXYxrPoh7fBDHoBvXAJJloVocE3jpwk4ooGgEvBxyuCaXjRQr8QzR0Ec6TWC3Vd8gOSF+N5tq0XwTbIbpd2/AtdonNqAuJ5Bn4jIBWJlBHoOAxiy8Q/AYAjrsCp+WVHlaAl/axGFwQgYz3SO9HY5ooqzLjY0RmK8rP5wVt/2T7EEiB5LSAlNEe0E9uSBhJMwNs09/GXoXWk8lxkTm79P/ubFaBUPtckIiGMGLLz72xfTXg7M1SKj1AvOlGO2PitY6bCBOA8zzvgO0B+n95e7FluX9kOJaZhg==

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

appx_package_name = "MSTeams"
appx_dir = makepath(systemdrive, programfiles, "Teams", "MSTeams-x64.msix")
bin_exe = "teamsbootstrapper.exe"


def install():
    # Declare local variables
    os_name = host_info()['os_name']
    bin_path = glob.glob(f"{appx_package_name}*.msix")[0]
    bin_exe = glob.glob("teamsbootstrapper.exe")[0]

    mkdirs(makepath(systemdrive, programfiles, "Teams"))
    filecopyto(bin_path, appx_dir)

    # Remove old versions
    print(f"Removing AppX: {appx_package_name}")
    run_powershell('Get-AppXProvisionedPackage -Online | Where-Object DisplayName -Like "*Teams*" | Remove-AppxProvisionedPackage -Online')
    run_powershell('Get-AppxPackage -AllUsers | Where-Object Name -like "*Teams*" | Remove-AppxPackage -AllUsers')

    print(f"Installation of {appx_package_name}")
    killalltasks(ensure_list(control.impacted_process))
    if 'Enterprise LTSC' in os_name:
        registry_setstring(HKEY_LOCAL_MACHINE, 'SOFTWARE\\Policies\\Microsoft\\Windows\\Appx', 'AllowAllTrustedApps', 1, type=REG_DWORD)
        run_powershell(f'Add-AppxProvisionedPackage -Online -PackagePath "{bin_path}" -SkipLicense')
    else:
        run(f'"{bin_exe}" -p -o "{appx_dir}"')
    
    # Copy of exe in persistent location of this package
    filecopyto(bin_exe, makepath(persistent_dir, bin_exe))


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

    run_powershell('Get-AppXProvisionedPackage -Online | Where-Object DisplayName -Like "*Teams*" | Remove-AppxProvisionedPackage -Online')
    run_powershell('Get-AppxPackage -AllUsers | Where-Object Name -like "*Teams*" | Remove-AppxPackage -AllUsers')

    teamsbootstrapper_path = makepath(persistent_dir, bin_exe)

    run(f'"{teamsbootstrapper_path}" -x')

    if isdir(makepath(programfiles, "Teams")):
        remove_tree(makepath(programfiles,"Teams"))

    if isfile(teamsbootstrapper_path):
        remove_file(teamsbootstrapper_path)


def audit():
    # Declaring local variables
    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.")
        return "ERROR"
    
    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()}.')
        return "WARNING"

    print(f'{appxprovisionedpackage["PackageName"]} is installed and up-to-date.')
    return "OK"

# -*- 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",
    }

    exe_url = "https://statics.teams.cdn.office.net/production-teamsprovision/lkg/teamsbootstrapper.exe"
    exe_bin = exe_url.split("/")[-1]
    download_url = download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    remove_file(latest_bin)

    # 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)
    if not isfile(exe_bin):
        print("Downloading: %s" % exe_bin)
        wget(exe_url, exe_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)

b0312be239538432477267f598e30f746803742e59e3ff167ec5695635d55d8d : MSTeams-x64.msix
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c51d57baa61ccb827c766683938c41c0b89266205d0cad423960f36d39495ba6 : WAPT/control
e6fc329501c75552f2c2094e6054e35cec9a2174c09c135ad87b9ecaffb9a317 : WAPT/icon.png
12d5d95ec9a99cf8cdca07ffc3bed1fcd31f34908a49153dec8ec7be41214ab7 : luti.json
688395362ced77dd7bd8b814ef10f4f92f1e22fd1c97fc5dcc72cfdbe05dba8c : setup.py
c9d1c68b1f9048e6d04bc4313a4036f91c255df0988c4d876f687b5c1140440d : teamsbootstrapper.exe
4ef98193e93399809bb75b32a8ce67c9f32b2df78e31152f95eb4d8b0c6a1bc0 : update_package.py