Launching Symantec LiveUpdate via Relevance within Action

(imported topic written by d.limanov)

Hello esteemed Bigfix admins,

I am tasked with scripting launching of LiveUpdate via Bigfix. Since we have both SEP11 and SEP12 clients, and I’m kind of lazy to create individual fix lets for each, I wanted to do it all in one fix let, by adding some relevance within the action line language itself. I have the following action and it executes without any errors in debugger, however regardless on which client I run this on, LiveUpdate (in either Luall.exe or SepLiveUpdate.exe form) never launches and never updates.

Is there something I’m missing here?

Thanks in advance!

//check if x64 machine with SEP11, they are using \LiveUpdate\Luall.exe

if ({x64 of operating system} and exists folder (value of variable “ProgramFiles” of environment & “\Symantec\LiveUpdate”)) then waithidden “C:\Program Files (x86)\Symantec\LiveUpdate\Luall.exe -s”

else

//check if x64 machine with SEP12, they are using \Symantec Endpoint Protection\SepLiveUpdate.exe

if ({x64 of operating system} and NOT exists folder (value of variable “ProgramFiles” of environment & “\Symantec\LiveUpdate”)) then waithidden “C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\SepLiveUpdate.exe”

else

//assume x86 machine with SEP11, they are using \LiveUpdate\Luall.exe but from regular \Program Files

waithidden “C:\Program Files\Symantec\LiveUpdate\Luall.exe -s”

endif

(imported comment written by jgstew)

This is not the correct syntax for “If” within Actionscript, it is not the same as “If” within Relevance.

Here is an example:

http://bigfix.me/fixlet/details/722

(imported comment written by jgstew)

Try using this as your base folder:

http://bigfix.me/fixlet/details/743

(value "InstallLocation" of key whose (value "DisplayName" of it as string contains "Symantec Endpoint Protection" AND value "DisplayVersion" of it as string as version >= "10.0.1" as version AND exists value "InstallLocation" of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string)

(imported comment written by d.limanov)

Thanks so much! This is exactly what my empty brain was stalling on.

(imported comment written by jgstew)

Your welcome. Take a look at my suggestion for finding the SEP folder location.