Software Deployment Question
K1000 Script - verify file version not working
06/02/2017 1692 views
I'm fairly new to KACE and I'm probably doing something wrong, but I can't seem to get the "Verify file version" function to work correctly in an Online KScript I'm using to deploy software. I'm trying to check the version of an installed file, and take action based on the finding.
Running the script below never creates either the Success or Remediation message window on the target system, and looking in the "Run Now Status" shows the job in a continuous Running state (it never moves out of the "Running" status). As a test, if I change the verification to simply check that the file exists, everything works fine.
The version number that I'm entering for the check comes directly from the "File Version" attribute on the "Details" tab of the file's properties.
I know there are other ways to accomplish the file version check (batch file, PowerShell, etc), but shouldn't this work?
Here's the script, thanks in advance!
- Verify that the file “C:\Program Files\Microsoft Office\Office12\EXCEL.EXE” has version “12.0.6766.5000”.
- Create a message window named “Success” with title “Success”, message “Success” and timeout “60” seconds.
Answer Chosen by the Author
Please log in to answer
funny I tried it too.
Doesn't seem to work.
Stuck on running.......
Maybe you found a glitch.....
Get in touch with support.
Answered 06/05/2017 by: akmagnum