This file gets replaced daily. How would you propose I automate updating the file on the BigFix server daily, as there is no URL to initially download it from?
Going back to pursuing running commands as current user. Where do I place the RACU.exe file after downloading it, on the client pcs or on the server and where in the folder structure?
there are several methods available to validate a downloaded file, there is a process for automatically including changing content in a custom site (PropagateFiles utility, see http://forum.bigfix.com/viewtopic.php?id=4686) or this option may work:
copy file . to webserver (or bes server “Uploads” folder in web directory
make a file “.sha1” in the same location that contains the sha1 of the file you want
download both files with “download” of “download as”
check sha 1 of . is the same as the content of .sha1
continue if {(sha1 of it = ((line 1 of file “.sha1” of folder “__Download”) as trimmed string)) of file “patch1” of folder “__Download”}
do whatever with file
using RACU, you can either leave it where it is, make it a utility or put it in a custom location:
Custom location:
move __Download\RACU.exe “{parent folder of regapp “besclient.exe”}\RACU.exe”
wait “{parent folder of regapp “besclient.exe”}\RACU.exe” --w calc.exe