New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Query isn't working, stumpedExpand / Collapse
Author
Message
Posted 11/17/2009 9:38:33 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/10/2010 10:03:31 PM
Posts: 1, Visits: 3
I have this query that is looking for the existence of a file, and missing .NET 2.0. I have it split between Win2k and 2003 - doesn't seem to be working. Is there a variable I can use for system drive? Will the regular Windows variables work?

Here's the query:

(OSVersion = OS.Version.WinServer2003 AND EXISTS "C:\Program Files\Symantec\Backup Exec System Recovery\Agent\VProSvc.exe" AND NOT EXISTS "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG") OR
(OSVersion = OS.Version.WinServer2000 AND EXISTS "C:\Program Files\Symantec\Backup Exec System Recovery\Agent\VProSvc.exe" AND NOT EXISTS "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG")


Thanks
Post #1822
Posted 11/18/2009 10:14:12 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2/12/2011 11:11:06 PM
Posts: 742, Visits: 1,211
I did some testing with your rule, and found that you just need to rearrange your AND and OR statements to look like this.  Here is a pseudo code version of how it should look.

(OS = 2000) Or (OS = 2003) AND (File path exists) AND (File path 1 does not exist) AND (File path 2 does not exist)

I went ahead and created a rule that should work for you from within the configuration groups.  If this doesn't work correctly, try building the rule step by step from these examples.

((((OSVersion = OS.Version.Win2000) OR  (OSVersion = OS.Version.WinServer2003)) AND  (EXISTS <File> "C:\Program Files\Symantec\Backup Exec System Recovery\Agent\VProSvc.exe")) AND  (NOT EXISTS <Folder> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG")) AND  (NOT EXISTS <Folder> "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG")

New Boundary Support

Support@newboundary.com

612-379-1851



New Boundary Technologies Support
support@newboundary.com

Post #1823
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 12:19pm

Powered By InstantForum.NET v4.1.3 © 2012
Execution: 0.141. 9 queries. Compression Enabled.