tis-microsoft-teams icon

Microsoft Teams

Paquet d’installation silencieuse pour Microsoft Teams

1.5.00.10453-2

  • package: tis-microsoft-teams
  • name: Microsoft Teams
  • version: 1.5.00.10453-2
  • categories: Media,Messaging,Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Microsoft
  • licence: Proprietary
  • locale: all
  • target_os: debian-buster,centos8,almalinux
  • impacted_process: Teams
  • architecture: x64
  • signature_date:
  • size: 199.05 Mo
  • homepage : https://www.microsoft.com/microsoft-365/microsoft-teams/group-chat-software

package           : tis-microsoft-teams
version           : 1.5.00.10453-2
architecture      : x64
section           : base
priority          : optional
name              : Microsoft Teams
categories        : Media,Messaging,Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : System-Wide installation - 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           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian-buster,centos8,almalinux
min_wapt_version  : 2.1
sources           : 
installed_size    : 
impacted_process  : Teams
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    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Microsoft
keywords          : microsoft,teams,team,communication,collaboration,chat,video,meetings
licence           : Proprietary
homepage          : https://www.microsoft.com/microsoft-365/microsoft-teams/group-chat-software
package_uuid      : c8845b1a-7e91-418f-a80f-178d92a47526
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://support.office.com/article/what-s-new-in-microsoft-teams-d7092a6d-c896-424c-b362-a472d5f105de
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c6e1224de3bf5ed2d252f9cee788480febfe2993b02cf91cf3258e7306274674
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : s1LND+O3KAuuru/IrzYjE0DPqzuGPxeira/HSWP269XwuO9qgnaru6I4uXrEHh6UahflYQawWCCV+9f5/ftgGL7Fbb1AED5H01vdR/1PCUauqvrIVzuGC7RRHzNLnZs2ReeNeC4BekaQKsqqHkm6QmBE6iNaHFleHpBY/qMgvT6Nx4PZN6CEnlGOTlY+bT9qCPKthMjnyRwI/XezYhPWW0mTI+zt/tTdRZ3XjI3hdq//IeklHNpzjjdU5Y6M0mhxJECIHTXPm4Z5uM7+9dhSHF4r2o4i8xP0/YvPgglGwiTE7kU8a8ioUL+eVVwjJzYRTLnillVr0htCUN/npOqfLg==
signature_date    : 2022-04-24T23:04:00.603087
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 *
import requests
import shutil

uninstallkey = []

link_deb = 'https://go.microsoft.com/fwlink/p/?LinkID=2112886&clcid=0x40c&culture=fr-fr&country=FR'
link_rpm = 'https://go.microsoft.com/fwlink/p/?LinkID=2112907&clcid=0x40c&culture=fr-fr&country=FR'

list_binnary = [link_rpm,link_deb]

def install():
    isapt = True
    try:
        run('apt-get --version')
    except:
        isapt = False

    if isapt :
        run('apt-get install ./%s -y' % glob.glob('*.deb')[0], timeout=600)
        if isfile('/etc/apt/sources.list.d/teams.list'):
            remove_file('/etc/apt/sources.list.d/teams.list')
    else:
        run('yum install ./%s -y' % glob.glob('*.rpm')[0])

def uninstall():
    isapt = True
    try:
        run('apt-get --version')
    except:
        isapt = False

    if isapt :
        run('apt-get remove teams -y')
    else:
        run('yum remove teams -y')


def update_package():
    import urllib
    import os
    import ssl

    proxies = {}
    if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}
            os.environ['http_proxy'] = proxywapt
            os.environ['https_proxy'] = proxywapt

    ctx = ssl.create_default_context()
    ctx.check_hostname = False
    ctx.verify_mode = ssl.CERT_NONE

    for url in list_binnary:

        response = urllib.request.urlopen(url, context=ctx)
        u = response.geturl()
        filename = u.split('/')[-1]

        if not isfile(filename):
            wget(u,filename,proxies=proxies,verify_cert=False)

        ext = filename.split('.')[-1]
        for b in glob.glob('*.%s' % ext):
            if b != filename:
                remove_file(b)

        version_bin = filename.split('_')[1].split('-')[0]
        control.version = '%s-2' % (version_bin)
        control.save_control_to_wapt()

3654aa8921497ab3f6e232b48597c2fcaa71d00ae6386f93b37bcffe817b0aef : setup.py
7cb570d9ac5231eb6e6a84738e0fb1e0345863c58fe5341b2fb2db7c5e8b15f0 : teams_1.5.00.10453_amd64.deb
88c4ce31d8ab98d684e53ce3360b22b4842b140a640b64cd8e90e064ac9fb71e : teams-1.5.00.10453-1.x86_64.rpm
c6e1224de3bf5ed2d252f9cee788480febfe2993b02cf91cf3258e7306274674 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
3d1efba9283090330605f2ca045e50ea3bb6fca5df4df03e8542f9c67d30ba78 : luti.json
e35545c789517b4f817451ff1861c82e500f9fe8dbd32f5a76db3a7267618a85 : WAPT/control