Package Zoom (specific version) with winget as an Win32 App in Intune (1/2)

Описание к видео Package Zoom (specific version) with winget as an Win32 App in Intune (1/2)

In this video, we package Zoom client with a specific version with help of a command line update tool called winget.
We package it as a Win32 app in Intune and put it in the company portal.
The problem is that winget.exe cannot be found without specifying the path when running under the SYSTEM account in Intune so we do a script to help to find it.

Links
Microsoft Win32 Content Tool: https://github.com/microsoft/Microsof...
Website to search for applications by winget.exe: https://winget.run/

==Install script (PowerShell)==

Install Zoom 5.11.8425 using winget
Author: John Bryntze
Date: 20th December 2022

Find path to winget.exe

$JBNWinGetResolve = Resolve-Path "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_*_x64__8wekyb3d8bbwe\winget.exe"
$JBNWinGetPathExe = $JBNWinGetResolve[-1].Path

$JBNWinGetPath = Split-Path -Path $JBNWinGetPathExe -Parent
set-location $JBNWinGetPath

Run winget.exe

.\winget.exe install -e --id Zoom.Zoom -v 5.11.8425 --scope=machine --silent --accept-package-agreements --accept-source-agreements



==Uninstall script (PowerShell)==

Uninstall Zoom 5.11.8425 using winget
Author: John Bryntze
Date: 20th December 2022

Find path to winget.exe

$JBNWinGetResolve = Resolve-Path "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_*_x64__8wekyb3d8bbwe\winget.exe"
$JBNWinGetPathExe = $JBNWinGetResolve[-1].Path

$JBNWinGetPath = Split-Path -Path $JBNWinGetPathExe -Parent
set-location $JBNWinGetPath

Run winget.exe to uninstall

.\winget.exe uninstall -e --id Zoom.Zoom --silent

Комментарии

Информация по комментариям в разработке