if (exists key (first 74 of (“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\xyz”)) of registry) then (value “DisplayVersion” of key (first 74 of (“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\xyz”)) of registry as string) else (“NULL”)
(name of it, values "DisplayVersion" of it) of keys whose (name of it starts with "Micro")
of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry
Or if you just want the DisplayVersion,
values "DisplayVersion" of keys whose (name of it starts with "Micro")
of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry