-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions
40
microsoft-teams-new-bootstrapper/microsoft-teams-new-bootstrapper.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. --> | ||
|
||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd"> | ||
<metadata> | ||
<id>microsoft-teams-new-bootstrapper</id> | ||
<version>1.0.2329602</version> | ||
<packageSourceUrl>https://github.com/flcdrg/au-packages/tree/master/microsoft-teams-new-bootstrapper</packageSourceUrl> | ||
<owners>flcdrg</owners> | ||
<title>Microsoft Teams (new client) Bootstrapper (Machine-Wide Install)</title> | ||
<authors>Microsoft Corporation</authors> | ||
<projectUrl>https://learn.microsoft.com/en-us/microsoftteams/new-teams-bulk-install-client</projectUrl> | ||
<!--<iconUrl>http://cdn.rawgit.com/__MAINTAINER_REPO__/master/icons/microsoft-teams-new-bootstrapper.png</iconUrl>--> | ||
<copyright>2023</copyright> | ||
<licenseUrl>https://support.microsoft.com/en-us/office/microsoft-teams-subscription-supplemental-notice-60cc09bf-b02a-4a26-8e4a-ad697194bebf?ui=en-us&rs=en-us&ad=us</licenseUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<docsUrl>https://learn.microsoft.com/en-us/microsoftteams/teams-overview?WT.mc_id=DOP-MVP-5001655</docsUrl> | ||
<tags>teams office 365 chat collaboration</tags> | ||
<summary>Microsoft Teams new client bootstrapper installer</summary> | ||
<description>The Teams installer installs the Teams MSIX package on a target computer, making sure that Teams can interoperate correctly with Office and other Microsoft software. | ||
|
||
**TeamsBootstrapper** is a lightweight online installer with a headless command-line interface. It allows admins to provision (install) the app for all users on a given target computer. | ||
|
||
When TeamsBootstrapper is run on a computer: | ||
|
||
- The installer downloads the latest Teams MSIX package from Microsoft | ||
- The installer installs the Teams application for all users on the computer, and any users who may be added afterwards. | ||
|
||
Users who have installed a different Teams version will have their version replaced with the provisioned version. | ||
|
||
### Package Specific | ||
|
||
Note that TeamsBootstrapper.exe will cause the the latest Teams MSIX package to be installed from Microsoft. Once Teams is installed it | ||
is self-updating. As such there's likely no need to install updates of this Chocolatey package. | ||
</description> | ||
</metadata> | ||
<files> | ||
<file src="tools\**" target="tools" /> | ||
</files> | ||
</package> |
25 changes: 25 additions & 0 deletions
25
microsoft-teams-new-bootstrapper/tools/chocolateyinstall.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$ErrorActionPreference = 'Stop'; | ||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||
|
||
$minimumOsVersion = "10.0.19041" # 20H1 | ||
$osVersion = (Get-CimInstance Win32_OperatingSystem).Version | ||
if ([Version] $osVersion -lt [version] $minimumOsVersion) { | ||
Write-Error "Microsoft Teams New Client requires a minimum of Windows 10 20H1 version $minimumOsVersion. You have $osVersion" | ||
} | ||
|
||
$downloadPath = Join-Path $toolsDir "teamsbootstrapper.exe" | ||
|
||
$packageArgs = @{ | ||
packageName = $env:ChocolateyPackageName | ||
softwareName = 'microsoft-teams-new-bootstrapper*' | ||
fileType = 'exe' | ||
|
||
url = "https://statics.teams.cdn.office.net/production-teamsprovision/lkg/teamsbootstrapper.exe" | ||
checksum = '9BA82898539EEDF786346C17041A072C7002541504BAF4B1612F2D097EB9CC81' | ||
checksumType = 'sha256' | ||
FileFullPath = $downloadPath | ||
} | ||
|
||
Get-ChocolateyWebFile @packageArgs | ||
|
||
& $downloadPath -p |
Empty file.