[SOLVED] Package tis-microsoft-teams

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Yoann
Messages: 51
Registration: July 24, 2019 - 09:39

September 1, 2020 - 12:24

Good morning,

Several topics have already been posted on this forum regarding the package tis-microsoft-teams suggested in the repository. I preferred to create a new topic to discuss several questions I have.

1) In this package, Microsoft Teams is installed using the MSI file and the argument ALLUSER=1 (without the "S").
This argument is used only in VDI environments.
Therefore, in order to install Teams on a classic (non-VDI) environment, keys (VMware, Citrix) are added to the registry and trick the installer into thinking it is on a VDI environment.
Why was this approach preferred rather than using the MSI with the arguments (OPTIONS="noAutoStart=true" ALLUSERS=1) which work in both VDI and non-VDI environments?
This would also avoid file manipulation setup.json to disable Teams from automatically starting when logging in.

2) In the current package, I may have missed something, but could there be a problem with the function session_setup().
The current version of Teams is retrieved into a variable (user_app_version) from the registry but does not appear to be used subsequently. A condition would be missing:

Code: Select all

    if Version(user_app_version) < Version(package_version):
        # Killing app before making changes
        killalltasks('Teams.exe')        
        ...
THANKS,

Sincerely.
Last edited by Yoann on 01 Sep 2020 - 18:22, edited 1 time.
WAPT Community 1.8
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

September 1, 2020 - 4:27 PM

Hello,

1) We made this choice for better management of installations via WAPT and a lighter, "cleaner" PC environment on multi-user workstations.
Look in previous versions; you'll find the package you mentioned with "ALLUSER=1".

2) This variable was used for the previous method; it can indeed be commented out.

Regards,
Jimmy
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

September 1, 2020 - 4:54 PM

With ALLUSERS=1, MSTeams installs itself in users' AppData folders. This is rather messy and not really compatible with SRP/APPLocker. Tranquil IT's choice was to force installation in Program Files using the method currently employed in the package.
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Yoann
Messages: 51
Registration: July 24, 2019 - 09:39

September 1, 2020 - 6:20 PM

I understand better now, thank you for these explanations.
WAPT Community 1.8
Locked