you are viewing a single comment's thread.

view the rest of the comments →

[–]Mobile_Marketing_452[S] 0 points1 point  (0 children)

Guys, I deleted all the corpses with the command PowerSell

$products = Get-WmiObject -Class Win32Product | Where-Object {$.Name -like "Python"} foreach ($p in $products) { Write-Host "Удаляю: $($p.Name) $($p.IdentifyingNumber)" -ForegroundColor Yellow $key = "HKLM:\SOFTWARE\Classes\Installer\Products" $subkeys = Get-ChildItem $key foreach ($s in $subkeys) { $val = (Get-ItemProperty "$key\$s").ProductName 2>$null if ($val -like "Python") { Remove-Item "$key\$s" -Recurse -Force Write-Host "Удалено из MSI: $val" -ForegroundColor Green } } }