Hello everyone,
I’m trying to deploy WinCollect 10.1.13-12 using Software Distribution, but I’ve encountered an issue when passing parameters. Below is the core cmd
command that works outside of BigFix:
msiexec.exe /qn /i wincollect-10.1.13-12.x64.msi WC_SCRIPT=\\ournetwork.com\NETLOGON\redacted\redacted\wincollect\update_StandardEventLogs_Sysmon1.xml ADMIN_GROUP="false"
I created a software distribution package using the wizard. When prompted for parameters, I entered:
WC_SCRIPT=\\ournetwork.com\NETLOGON\redacted\redacted\wincollect\update_StandardEventLogs_Sysmon1.xml ADMIN_GROUP="false"
After deploying the action for testing, it failed. Running the same action via the Fixlet Debugger returned the following error:
STATUS: Running action...
Command succeeded (Prefetch download manager collected file) prefetch e35641d68aaae5df7dc9202c8210bbe88dfbac7e sha1:e35641d68aaae5df7dc9202c8210bbe88dfbac7e size:7684130 http://bigfixserver.company.com:52311/Uploads/e35641d68aaae5df7dc9202c8210bbe88dfbac7e/wincollect-10.1.13-12.x64.msi.tmp sha256:710e0b7384f22ea7c62216d288ff6f675c034b4a6494182ac1662de2a92c7301
Command succeeded extract e35641d68aaae5df7dc9202c8210bbe88dfbac7e
Command failed (Relevance substitution failed) wait "{pathname of system folder & "\msiexec.exe"}" /qn /i "{(pathname of client folder of current site) & "\__Download\wincollect-10.1.13-12.x64.msi"}" WC_SCRIPT=\\ournetwork.com\NETLOGON\redacted\redacted\wincollect\update_StandardEventLogs_Sysmon1.xml ADMIN_GROUP="false"
Command failed (Relevance clauses must be surrounded by { and } guards.) wait "{pathname of system folder & "\msiexec.exe"}" /qn /i "{(pathname of client folder of current site) & "\__Download\wincollect-10.1.13-12.x64.msi"}" WC_SCRIPT=\\ournetwork.com\NETLOGON\redacted\redacted\wincollect\update_StandardEventLogs_Sysmon1.xml ADMIN_GROUP="false"
--- Result ---
Evaluation Failure.
Key Observations:
-
The error indicates a Relevance substitution failure and mentions:
Relevance clauses must be surrounded by { and } guards.
-
The parameters, when passed manually in
cmd
, work correctly, so the issue seems specific to how the parameters are being interpreted in the action script.
Steps Already Taken:
- Verified the MSI path and syntax.
- Checked the prefetch and extraction steps, which complete successfully.
Questions:
- Does the action script require additional formatting for the parameters (e.g., escaping backslashes or quotes)?
- Is there a better way to handle these parameters within BigFix?
- Are there known issues with passing parameters in a
wait
command formsiexec.exe
?
Any advice or suggestions would be greatly appreciated. Thanks in advance!