Error: Relevance clause must be surrounded by { and } guards

Hi guys,
I’m trying to write some action script but getting an error above in title.

my action script looks like this:

parameter "tempKBPath" = "C:\temp\kb\"
parameter "msuFile" = "windows6.1-kb4525235-x64_0fae5fa7d4539650261fb338ff134dfb68867f9c.msu"
parameter "cabFile" = "windows6.1-kb4525235-x64.cab"

wait cmd /c expand.exe -f:* "{pathname of client folder of site "actionsite" & "\__Download\{parameter "msuFile"}"}" {parameter "tempKBPath"}

where am I wrong?

please help ASAP.

Regards,

Try

wait cmd /c expand.exe -f:* "{pathname of client folder of site "actionsite" & "\__Download\" & parameter "msufile"}" {parameter "tempKBPath"}

failed with message in log:

“Command failed (Relevance substitution failed)”

Thats odd, it didn’t throw a substitution error when I tested in the fixlet debugger

it’s really odd,
I’ve tried it on other server with same action script and it worked.
I do not understand what’s wrong…

OK,
a quick correct, it didn’t work with FixletDebugger, but worked with real action triggered from the BigFix console.

thank you

1 Like