/build/static/layout/Breadcrumb_cap_w.png

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

  1. Verify that the file “C:\Program Files\Microsoft Office\Office12\EXCEL.EXE” has version “12.0.6766.5000”.
    trashcan-icon.png

On Success

  1. Create a message window named “Success” with title “Success”, message “Success” and timeout “60” seconds.
    trashcan-icon.png

Remediation

  1. Create a message window named “Remediation” with title “Remediation”, message “Remediation” and timeout “60” seconds.
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

1

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
Red Belt

All Answers

0
Got the some problem... stuck on running ... :(

Any news or update from the support?
Answered 08/08/2017 by: StepBaer
Senior White Belt

  • Yes, actually.... Quest support has acknowledged this as a bug and assigned it defect K1-19312 on 7/4/17. I haven't received any updates from Quest support on it since then.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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