I am trying to run an agent procedure to get the file version of an exe file and write it to system info. How can I get the version?
This post should be a question instead of a discussion.
To answer your question, you first need to create a "Custom Field", this can be done from "Audit > View Individual Data > System Information".
In your agent procedure you want to use the "getVariable" line with the "File Version" option, specify the path of where the file is located and give it a variable name (ideally you want to check if the file exists first before running this step) .
Next use the "updateSystemInfo" command to write the value into the custom field you created.