Skip to content

Commit 414384f

Browse files
author
Jonathan Pitre
committed
Fix URL for CleanZoom.zip
1 parent aec455e commit 414384f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Zoom/Install-ZoomVDI.ps1

+9-2
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ Foreach ($Module in $Modules)
181181

182182
#----------------------------------------------------------[Declarations]----------------------------------------------------------
183183

184+
#region Declarations
185+
184186
$appShortName = "Zoom"
185187
$appName = "Zoom Client for VDI"
186188
$appProcesses = @("Zoom", "Zoom_launcher", "ZoomOutlookIMPlugin")
@@ -194,16 +196,19 @@ $appVersion = $Evergreen.Version
194196
$appURL = $Evergreen.URI
195197
$appSetup = ((Split-Path -Path $appURL -Leaf).Trim("?archType=$appArchitecture"))
196198
$appDestination = "$env:ProgramFiles\ZoomVDI\bin"
197-
$appUninstallerURL = "https://support.zoom.us/hc/en-us/article_attachments/360084068792/CleanZoom.zip"
199+
$appUninstallerURL = "https://assets.zoom.us/docs/msi-templates/CleanZoom.zip"
198200
$appUninstallerZip = Split-Path -Path $appUninstallerURL -Leaf
199201
$appUninstallerSetup = "CleanZoom.exe"
200202
[boolean]$isAppInstalled = [boolean](Get-InstalledApplication -Name "$appName")
201203
$appInstalledVersion = If ($isAppInstalled) { Get-FileVersion -File "$appDestination\Installer.exe" }
202204
$appInstalledVersion = $appInstalledVersion.Replace(",", ".")
203205

206+
#endregion
204207

205208
#-----------------------------------------------------------[Execution]------------------------------------------------------------
206209

210+
#region Execution
211+
207212
If ([version]$appVersion -gt [version]$appInstalledVersion)
208213
{
209214
Set-Location -Path $appScriptPath
@@ -288,4 +293,6 @@ If ([version]$appVersion -gt [version]$appInstalledVersion)
288293
Else
289294
{
290295
Write-Log -Message "$appName $appInstalledVersion is already installed." -Severity 1 -LogType CMTrace -WriteHost $True
291-
}
296+
}
297+
298+
#endregion

0 commit comments

Comments
 (0)