diff --git a/apps/gasten.txt b/apps/gasten.txt index 869ed2b..be9e651 100644 --- a/apps/gasten.txt +++ b/apps/gasten.txt @@ -2,8 +2,8 @@ $apps = @( "Microsoft.DotNet.DesktopRuntime.8", "Google.Chrome", "Mozilla.Firefox", - "Google.Drive", - "Google.ChromeRemoteDesktopHost" + "Google.GoogleDrive", + "Google.ChromeRemoteDesktopHost", "Dell.CommandUpdate", "Logitech.OptionsPlus", "Notepad++.Notepad++", diff --git a/main-menu.ps1 b/main-menu.ps1 index f7c2dce..c0778a0 100644 --- a/main-menu.ps1 +++ b/main-menu.ps1 @@ -351,6 +351,9 @@ function Install-MedewerkersApps { } elseif ($outputString -match "No upgrade available|No newer package versions") { $msg = "OK $app is al geinstalleerd (geen actie nodig)" Write-ColorText $msg "Yellow" + } elseif ($outputString -match "No package found|No applicable packages found") { + $msg = "FOUT: Package niet gevonden: $app (Controleer de package ID)" + Write-ColorText $msg "Red" } else { # Show error with exit code for debugging $msg = "FOUT bij installatie van $app (Exit code: $exitCode)" @@ -466,6 +469,9 @@ function Install-GastenApps { } elseif ($outputString -match "No upgrade available|No newer package versions") { $msg = "OK $app is al geinstalleerd (geen actie nodig)" Write-ColorText $msg "Yellow" + } elseif ($outputString -match "No package found|No applicable packages found") { + $msg = "FOUT: Package niet gevonden: $app (Controleer de package ID)" + Write-ColorText $msg "Red" } else { # Show error with exit code for debugging $msg = "FOUT bij installatie van $app (Exit code: $exitCode)"