(imported topic written by Shlomi91)
Hi,
i am trying to determine which computers in my company have Pointsec installed and which version it is, so i wrote this retrieved property:
if (exists file
"PointsecForPC.exe" of folder ((value of variable
"ProgramFiles" of environment) &
"\Pointsec\Pointsec for PC\PCMC\")) then ((version of file "PointsecForPC.exe
" of folder ((value of variable "ProgramFiles
" of environment) & "\Pointsec\Pointsec
for PC\PCMC\
")) as string) else "Not Installed
"
now, on the computers that have Pointsec installed, i get the correct response. however, on computers that do not have Poinsec installed, i get .
i ran the query in Relevance Debugger and got “Singular expression refers to nonexistent object”.
can anyone ppoint out what i did wrong here?
thanks,
Shlomi