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.

Answer Summary:
"The %ProgramFiles% location itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit"
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

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. 

 

Answered 06/20/2012 by: Ben M
Ninth Degree Black Belt

  • Ah... I forget the client is 32 bit. It actually helps, because I don't have to make two seperate.
Please log in to comment
Answer this question or Comment on this question for clarity