Код:
$key = "HKEY_CLASSES_ROOT\Installer\Products\"
KeyList($key)
Func KeyList($key)
$i = 1
While 1
$var = RegEnumKey($key, $i)
If @error <> 0 then ExitLoop
$i = $i + 1
read ($key & $var)
WEnd
EndFunc
Func read($key)
$product = RegRead($key, "ProductName")
If $product = "Skypy" then RegDelete($key)
EndFunc
Не удаляется раздел из реестра :stars: :stars: