Are you referring to the Detection under Distribution Package Properties? If so this only applies to dependent packages. From help file:
Use this page to detect dependent packages or applications that weren't installed through Management Suite. A match on one or more criteria prevents dependent packages from installing. This page doesn't affect the primary package.
So what i wnat to do is look for the MSOCache setup file for office and if it is there either from a landesk push of the cache only install or from a previous one How do i do it?
I don't want to use a batch file 9which i can) but then the batch file needs to understand were files are rather than use preferred server
Can you be a little more specific on what you are trying to accomplish? I'm have a hard time following. Detecting a folder is very easy to do via scripting (batch.vb, autoit, etc..) So what happens if you detect the msocache folder and what happens when you don't detect it?