Sign in to follow this  
Followers 0
TuMiM

File version

1 post in this topic

I am trying to write a script that checks for the version of the citrix client file wfica32.exe. Based on the version, I need to run or not run other scripts. The problem is that I am looking for any version under version 10 and my code doesn't work for some reason. It always thinks it's over version 10. Can someone help?

$ver = FileGetVersion("C:\Program Files\Citrix\ICA Client\Wfica32.EXE")

If FileExists("C:\Program Files\Citrix\ICA Client\Wfica32.EXE") and $ver < "10.0.52110.0" then

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0