system
March 18, 2013, 6:49pm
1
(imported topic written by SystemAdmin)
Hi,
I have a task that i want to evaluate system architecture (windows) and download the relevant file for the system
begin prefetch block
if { exist folder “C:\PROGRAM FILES (x86)”}
add prefetch item {“name=Lync.tmp sha1:4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3 size:74463555 url=http://:52311/Uploads/4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3/amd64.tmp”}
end prefetch block
i’m used to checking actions in fixlet debugger, but with this i’m getting “command not implemented” messages.
this is the first time i try prefetch block and when i use a simple prefetch it works, why is that?
i followed the action guide closely.
system
March 18, 2013, 6:50pm
2
(imported comment written by SystemAdmin)
correction the section is:
begin prefetch block
if { exist folder “C:\PROGRAM FILES (x86)”}
add prefetch item {“name=Lync.tmp sha1:4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3 size:74463555 url=http://:52311/Uploads/4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3/amd64.tmp”}
endif
end prefetch block
system
March 18, 2013, 10:10pm
3
(imported comment written by SystemAdmin)
First I presume you are doing this only for a 64 bit OS?
Then doing
if { x64 of operating system }
would work better.
Second where are you failing? The error from the client log would help.
system
March 19, 2013, 11:41am
4
(imported comment written by SystemAdmin)
Thanks for the reply Alan, well i’m trying this in fixlet debugger,
i haven’t actually created a task with just the prefetch block and assigned to a client, i will try it on a client with debug logging turned on and update,
thanks for the relevance portion.
system
March 19, 2013, 9:00pm
5
(imported comment written by SystemAdmin)
I don’t believe the Fixlet Debugger handles the prefetch block well so that may be the issue. I believe there is an enhancement request to make it handle that type of object better.
system
March 24, 2013, 3:13pm
6
(imported comment written by SystemAdmin)
Hey Alan,
i’ve tried a task and i got this:
begin prefetch block
if { exist folder “C:\PROGRAM FILES (x86)”}
add prefetch item {“name=Lync.tmp sha1:4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3 size:74463555 url=http://:52311/Uploads/4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3/amd64.tmp”}
else
Failed
add prefetch item {“name=“Lync.tmp” sha1:204955e85e23a15e17c88216e9b467c5ffa2fcf0 size:71834143 url=:52311/Uploads/204955e85e23a15e17c88216e9b467c5ffa2fcf0/i386.tmp”}
endif
add prefetch item {“name=“RunAsCurrentUser.exe” sha1:9fd47b14aee681a6bad6579d30d6fb3fa4cc3ae3 size:131072 url=http://support.bigfix.com/download/bes/util/RunAsCurrentUser.exe”}
end prefetch block
so i switched the lines:
Action Script Execution Detail
begin prefetch block
Failed
add prefetch item {“name=“RunAsCurrentUser.exe” sha1:9fd47b14aee681a6bad6579d30d6fb3fa4cc3ae3 size:131072 url=http://support.bigfix.com/download/bes/util/RunAsCurrentUser.exe”}
if { exist folder “C:\PROGRAM FILES (x86)”}
add prefetch item {“name=Lync.tmp sha1:4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3 size:74463555 url=http://GERVWBFXP001.corp.zim.com:52311/Uploads/4f3721ffbd20d8655ff2999b1bdcaff461ed6dd3/amd64.tmp”}
else
add prefetch item {“name=“Lync.tmp” sha1:204955e85e23a15e17c88216e9b467c5ffa2fcf0 size:71834143 url=http://GERVWBFXP001.corp.zim.com:52311/Uploads/204955e85e23a15e17c88216e9b467c5ffa2fcf0/i386.tmp”}
endif
end prefetch block
on the client it says “relevance substitution error” in both cases (with / without debug logging)