This is only valid with the -Type Share parameter. -BaseShare specifies the share location which has been populated by PublishLatestVersion.ps1.Share is the default value if this parameter is not specified, for backwards compatibility. -Type specifies which type of retrieval is used.CommandĬheckMsiOverride.ps1 -Type Share -BaseShare ĬheckMsiOverride.ps1 -Type CDN ĬheckMsiOverride.ps1 -Type Package -OverrideVersion The script is signed, so the user executing the script on each machine will require an execution policy of at least RemoteSigned. It may be ideal to have it run from the SYSTEM account. It must be run with Administrative privileges. This method is intended for deployment via package managers to allow all the relevant files to be placed in one location. The package method requires the relevant MSI to be placed in the same folder as the script.Note that this method has each individual user downloading the files, and therefore can cause increased bandwidth usage if multiple users are executing the script at the same time. The CDN method has each client directly query if a new version is available and then downloads the relevant MSI directly from the Microsoft CDN server.The share method uses a share location populated by the PublishLatestVersion script to check for a newer version and to copy the MSI from.This script supports three methods of checking and retrieving an updated MSI: Share, CDN, and Package.
#Teams download msi update
The CheckMsiOverride script is intended to run on user machines, and will set the required registry key, and update the Teams Machine-Wide Installer to the most recent version. Going forward the MSI Override Administrators can run the PublishLatestVersion.ps1 script to retrieve the latest Teams MSI installers at any time.
PublishLatestVersion.ps1 -BaseShare \\server\TeamsUpdateShareĪt this point the file share should be populated with a new folder containing the latest Teams MSI installers, as well as a Version.txt file which indicates which version is the latest. Run the PublishLatestVersion.ps1 script, providing the path to the file share as follows: Ensure general users have read access, and only a few users, such as your IT administrators, have write access (these are your MSI Override Administrators).Ĭopy the PublishLatestVersion.ps1 script to a location available to your MSI Override Administrators. Usageĭownload the latest version of the script package.Ĭreate a file share (i.e., \\server\TeamsUpdateShare) which is accessible by all users which require the Teams MSI Override deployment. If you are currently running a preview version, this can be used to continue to pull the preview version while using this script package. PreviewRing will check for and download the version currently available in the preview ring. This share can then be used by the CheckMsiOverride script. The PublishLatestVersion.ps1 script will retrieve the most recent Teams MSI installers and store them onto a file share.
#Teams download msi how to
Click here for details on how to get the latest version for your computer. PowerShell 5.0 (or greater) must be installed on the host machine. To implement MSI Override, you can use the PublishLatestVersion.ps1 and CheckMsiOverride.ps1 scripts. In the event an organization needs to update the Teams Machine-Wide Installer, they can use a feature named MSI Override to update the MSI installed on a machine and allow per-user instances of Teams to update from the MSI.įor additional technical details on the Teams Machine-Wide Installer and MSI Override, please see Details There may be cases where an organization needs to update the Teams Machine-Wide Installer or forcibly update the per-user instances of Teams, perhaps for a critical security release, or if the normal update process is failing, or because a machine is shared, and new users are getting an outdated Teams installation. The Teams Machine-Wide Installer does not normally get updated, and per-user instances of Teams installed into a user's profile will normally not be affected by changes to the Teams-Machine-Wide Installer.
#Teams download msi install
This installer is used by Microsoft Office to install Teams or may be used by organizations installing Teams through a deployment package.
Microsoft Teams supports installation through an MSI installer, referred to as the Teams Machine-Wide Installer.