Microsoft Teams Citrix Vdi



Citrix delivers optimization for desktop-based Microsoft Teams (1.2.00.31357 or higher) using Citrix Virtual Apps and Desktops and Citrix Workspace app. By default, we bundle all the necessary components into the Citrix Workspace app and the Virtual Delivery Agent (VDA). In the coming months, we’ll offer Calling and Meetings in Teams through Audio/Video Media optimization in collaboration with Citrix. We’re also planning additional Teams enhancements, including improved app deployment, support for Windows Virtual Desktop, performance enhancements, and optimized caching for non-persistent setups. The VDA regkey MsTeamsRedir is set by a Citrix service (CtxSvcHost.exe) when the user logs on or reconnects to the virtual desktop. Teams will read this key when starting, and if the value is 1, it will load in VDI mode. The value is set to 1 automatically if and only if.

Other features currently in the preview program alongside Teams Meetings 2×2 Gallery View in Citrix and VMWare VDI Windows Native Notifications are now Supported on Teams: Users can now select their preferred means of notification delivery, either through Teams built-in banners or the Windows native banners. Download Webex Teams VDI. Supporting Ctrix and VMware. Your ultimate collaboration solution. Windows 32-bit Windows 64-bit: Windows 32-bit: Windows 64-bit: Ubuntu.

Microsoft has finally released Microsoft Teams installer that installs all files to Program Files. But still, it is not perfect, because it supposed to be only for Virtualized Desktop Infrastructure (VDI). The big question is if it is possible to install it on regular Windows 10? This is what the Master Packager team tried to figure out.

Teams On Citrix Vdi

How does Microsoft Teams MSI for VDI work

TeamsTeams
  1. The Teams MSI package can be downloaded from Microsoft using one of the following links:
    32-bit version
    64-bit version

  2. Following command line installs Microsoft Teams:
    msiexec /i 'path_to_msi' ALLUSER=1.

  3. By setting ALLUSER=1 property MSI will install Teams to Program Files. Please note, that it is not ALLUSERS very well-known property, but Microsoft Teams custom created ALLUSER property without letter S. This choice of public MSI property name has confused many of us.

  4. It's not possible to disable auto-launch of Teams with property OPTIONS='noAutoStart=true' when installing Teams on VDI using the ALLUSER property.

  5. By installing on regular Windows 10 using ALLUSER=1 property MSI will return error:
    Installation has failed. “Cannot install for all users when a VDI environment is not detected.”
    This error is not configured through MSI tables but is returned by Teams.exe. At this point we launch Process Monitor to detect what is needed for Teams to successfully be installed.
    Teams.exe needs ”HKEY_LOCAL_MACHINESOFTWARECitrixPortICA” registry key to be created on a target machine in order to install Teams using property ALLUSER=1.

  6. Auto updates will not work when using property ALLUSER=1 meaning each version needs to be deployed by IT administrator manually.

  7. What’s inside the MSI:

    1. Without setting ALLUSER=1 property Teams MSI behaves as we previously described in one of our blog posts: https://www.masterpackager.com/blog/how-microsoft-teams-installer-should-have-looked-like-from-the-beginning. In short Teams MSI installs Teams.exe to Program Files that is the actual installer triggered by each user on windows login by the run registry.

    2. By setting ALLUSER=1 property Teams MSI still is not using Windows Installer tables for installing all the files, instead, additional Custom Actions were created by Microsoft that will unpack all the files from Teams.exe to Program files as well uninstall them.
      CA “RunInstalledExecutable' will install files to Program Files using Teams.exe with switch –allUsers.
      CA “UninstallAllUser' will uninstall all files using in Binary table saved script.

MST to install Teams on regular Windows 10

We created MST file that will enable Teams MSI to be installed on regular Windows 10. Here are the changes we made in the MST file:

  1. Created [HKEY_LOCAL_MACHINESOFTWARECitrixPortICA] registry key

  1. Set ALLUSER property to 1

  1. Created ALLUSERS property and set to 1 to make Microsoft Teams entry visible in Add/Remove Programs

  1. Created ARPNOMODIFY property and set to 1 to not show modify button in Add/Remove Programs

  1. Changed ProductName property from “Teams Machine-Wide Installer” to “Microsoft Teams”

Teams
  1. Added Microsoft Teams Icon to be displayed in Add/Remove Programs

  1. Created Custom Action “CA_DeleteDesktopShortuct' that will delete the desktop shortcut.

Teams Vdi Download

  1. Created NODESKTOPSHORTCUT=1 property to delete the desktop shortcut. To leave the desktop shortcut just change NODESKTOPSHORTCUT property to 0. Default value set to 1.

  1. Create Custom Action “CA_DisableMSTeamsAutoRun' that will delete Teams run registry to stop auto launching for every user.

Citrix Vdi And Microsoft Teams

  1. Created DISABLEMSTEAMSAUTORUN=1 property to delete Teams run registry. To leave run registry unattached just change DISABLEMSTEAMSAUTORUN property to 0. Default value set to 0.

Microsoft Teams Citrix Support

Summary

As just described, with little modification via MST file it is possible to install Microsoft Teams MSI to all Windows 10 machines, not just on VDI. It would be nice to see a proper MSI for Teams that use MSI tables instead of being bundled in a binary file inside the MSI.

Read our blog post about 'How Microsoft Teams installer should have looked like from the beginning'.

Microsoft Teams Citrix Vdi Download

If you want to look into MSI/MST files, create MSI/MST from the scratch and do all possible modifications to them in the intuitive user interface, you are welcome to download Master Packager Standard edition for free. It is all you need when working with MSI/MST files.