Analysis Help to find a file

A few minor tweaks I would suggest, @MaxAdmin from what @TimRice suggests.

I do not recommend using “C:\Temp”, instead use:

{pathname of folders "Temp" of windows folders}

Or use the BES Client Download folder for the EXEs and the BES Client Log folder for the logging. I typically use something like “install_NameOfSoftware.log” for installer logs and “results_NameOfScanner.log” for things like this.


The relevance for the task/fixlet should be pluralized: (relevance tweaks, and substituting my above suggestion)

(Windows of Operating System) AND (not exists files "results_HashList.log" of folders "Temp" of windows folders)

And for the analysis:

(Windows of Operating System) AND (exists files "results_HashList.log" of folders "Temp" of windows folders)

In the actual actionscript of the Fixlet/Task, you should use a parameter for the temp folder, like this:

parameter "tempFolder" = "{pathname of folders "Temp" of windows folders}"

And then use {parameter “tempFolder”} or similar in the actionscript so that you don’t have to repeat it over and over again, and so you can change it as needed.

See this example: http://bigfix.me/fixlet/details/6090 ( I needed to change the temp folder location many times in this example while debugging some issues, so this approach saved me tons of time )


Also, be sure to add the following to the actionscript: (after the prefetch / download statements)

action launch preference low-priority
1 Like