Baseline Issues

I have a baseline that I created using two different fixlets. The first fixlet has a prefetch to pull down an ICO file and then place it in the public pictures folder and if ran seperatly it works perfectly. (here is the code for it: prefetch 8e0c1cd4a8968902b0890cb8c40aaac8289355f9 sha1:8e0c1cd4a8968902b0890cb8c40aaac8289355f9 size:36925 http://iem.[snipped]:52311/Uploads/8e0c1cd4a8968902b0890cb8c40aaac8289355f9/IT-HELP.ico.tmp sha256:4cd348eaaed1b606ab124703eb7a0fb398f50851cd79d2c960ad5927748a0edf
extract 8e0c1cd4a8968902b0890cb8c40aaac8289355f9

copy “C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\opsite358__Download\IT-HELP.ico” “C:\Users\Public\Pictures\IT-HELP.ico”)

However when I include a second fixlet for creating a desktop shortcut it causes the first fixlet to not finish moving the file prior to the second fixlet starting due to the download folder getting removed (it seems that every time a fixlet runs it removes the download folder and then adds it back), thereby causing the ICO file to not get moved.

So my question is how do I get the first fixlet to finish completely before the second fixlet starts to run and deletes my files from the download folder?

Only one action executes at a time, I think you’re experiencing some different symptom.

I think you’re mixing ActionScript lines with what is output in the log file. Can you verify what your ‘copy’ command looks like in the ActionScript? It should certainly not reference ‘opsite348’ directly.

The fixlet that downloads the file should instead reference the ‘download’ folder as a relative path, like

copy "__Download\IT-HELP.ico" "C:\Users\Public\Pictures\IT-HELP.ico"

And, if your second task is creating a shortcut to the already-downloaded file, it should reference "C:\Users\Public\Pictures\IT-HELP.ico", and have no reference at all ot the __Download path.

Jason,
The second task is doing what it should but it is stopping the first task from completeing so the ICO file is not being moved before the second task starts. It seems that once the second task starts it removes the download folder and anything that is in it. That is the reason I am wanting to know if there is a way to pause the second task until the first is completed.

Maybe put an if/then clause to look for the ICO file in the public picture folder?

I forgot to mention that the task to add the ICO file is a BigFix Action Script and the setup of the shortcut is a powershell script. Hope that helps clear up any confusion.
bill

I think I’m still not understanding something… what is in the actionscript of the first task and in the second task?