feat: include legacy 17.9.34511 alongside 17.9.34714 in WOW6432Node uninstall filter

This commit is contained in:
Diwie committed 2026-10-18 22:11:55 +02:00
1 parent 73fcb0f059
commit 1335516670
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ $entries = @(
[string]$info.DisplayVersion -eq '17.9.34714'
# Explicit user-requested exact-version filter, scoped to WOW6432Node only.
$isOldWowVersion = $root -eq 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall' -and
[string]$info.DisplayVersion -eq '17.9.34714' -and
[string]$info.DisplayVersion -in @('17.9.34714', '17.9.34511') -and
$name -notmatch '2026'
if (-not $isOldScriptDebug -and -not $isOldMinShell -and -not $isOldMinShellShared -and -not $isOldMinShellX64 -and -not $isOldFileHandler -and -not $isOldFileHandlerAmd64 -and -not $isOldWowVersion -and
($name -notmatch '(?i)Visual Studio' -or $name -match '2026' -or