(
exists file "msiexec.exe" of system folder
)
AND
(
disjunction of
(
exists keys whose
(
value "DisplayName" of it as string as lowercase equals "teams machine-wide installer"
)
of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of
(
x32 registry;
(
if exists x64 registry then x64 registry else nothing
)
)
)
)
AND true
(exists file "msiexec.exe" of system folder) AND (disjunction of (exists keys whose ( value "DisplayName" of it as string as lowercase equals "teams machine-wide installer" ) of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of ( x32 registry; (if exists x64 registry then x64 registry else nothing) ))) AND true