(imported comment written by Xie_Ran91)
You may also try this:
if (exists key
"HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\CurrentVersion\SharedDefs" whose (exists value
"NAVCORP_70" of it) of registry) then ((
if (exists
"\" of it AND following text of last "\
" of it contains ".
") then (preceding text of last ".
" of following text of last "\
" of it & ", rev.
" & following text of last ".
" of following text of last "\
" of it) else (it)) of (value "NAVCORP_70
" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\CurrentVersion\SharedDefs
" of registry as string)) else (if (exists key "HKEY_LOCAL_MACHINE\Software\Symantec\SharedDefs
" whose (exists value "NAVCORP_70
" of it) of registry) then ((if (exists "\
" of it AND following text of last "\
" of it contains ".
") then (preceding text of last ".
" of following text of last "\
" of it & ", rev.
" & following text of last ".
" of following text of last "\
" of it) else (it)) of (value "NAVCORP_70
" of key "HKEY_LOCAL_MACHINE\Software\Symantec\SharedDefs
" of registry as string)) else ("<Not Installed>
"))
to get more details. This one also tells you the build/revision number.