Update App Install or Upgrade Scripts/App - FoxitReader - Install or Upgrade.ps1

This commit is contained in:
2025-08-07 18:06:31 +00:00
parent a650502381
commit c0e8064fe6
@@ -50,7 +50,7 @@ If ($Applist.DisplayName -like "*$App_Name*") {
$Local_Version = Get-Software | Where-Object { $_.DisplayName -like "*$App_Name*" } | Select-Object -ExpandProperty DisplayVersion $Local_Version = Get-Software | Where-Object { $_.DisplayName -like "*$App_Name*" } | Select-Object -ExpandProperty DisplayVersion
#Comparing version already installed to what is online #Comparing version already installed to what is online
If ($Local_Version -lt $Online_Version) { If ([version]$Local_Version -lt [version]$Online_Version) {
Test-Probe_Online Test-Probe_Online
Install-App Install-App
} }