/build/static/layout/Breadcrumb_cap_w.png

Custom Inventory Rule

How is this working?

FileVersionEquals(%programfiles%\path\file.exe, 10.3.123.0) 

When the files exists in

FileVersionEquals(%programfiles(x86)%\path\file.exe, 10.3.123.0) 

I caught the typo on my part, but it is still working. More curious than anything.


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
"The %ProgramFiles% location itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit"
Posted by: Ben M 12 years ago
9th Degree Black Belt
3

http://en.wikipedia.org/wiki/Environment_variable#System_path_variables

"The %ProgramFiles% itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit"

Would this explain it? That's the only explanation that came readily to mind. 

 


Comments:
  • Ah... I forget the client is 32 bit. It actually helps, because I don't have to make two seperate. - dugullett 12 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ