Page 1 of 1

tis-microsoft-teams-uwp package, uninstalling Teams Classic

Published: March 12, 2024 - 10:24 PM
by Emmanuel64
Good morning

I would like to disable the automatic startup of Teams (Work) by default
Since the appx installation format is different from "normal" packages, could you help me?

I was also thinking of uninstalling Teams Classic, do you think that's a good idea?
Would adding these lines be suitable?

Code: Select all

for soft in installed_softwares('Teams'):
    if Version(soft['version']) < Version('24033.1005.2701.7380'):
        run(uninstall_cmd(soft['key']))
Thank you in advance for your help

Re: tis-microsoft-teams-uwp package, uninstalling Teams Classic

Published: April 22, 2024 - 2:37 PM
by gaelds
The code below seems to uninstall Teams classic correctly on my machines.

Code: Select all

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

def install():
    for soft in installed_softwares('Teams Machine-Wide Installer'):
        run(uninstall_cmd(soft['key']))

Re: tis-microsoft-teams-uwp package, uninstalling Teams Classic

Published: April 23, 2024 - 11:27 AM
by Emmanuel64
Thank you for your feedback.

Unfortunately, it didn't work on my Wapt dev machine.

Regards.