Hello All, I have created a script set which checks the version of Backup Exec then silently runs LiveUpdate for the relevant version, it worked for versions 11d all the way through to 13.0 (2010). Simply Import the below script folder into Kaseya (first gen) and run "Live Update - Version Check 1 of 4" on all Backup Exec Machines. Note There is NO NEED TO RUN ANY OTHER SCRIPTS HERE, Version Check 1 of 4 checks for the existence of 10d, if it fails it will call Version Check 2 of 4 etc until it is complete. I would recommend hiding these scripts away and creating one more script which only calls "Live Update - Version Check 1 of 4" then you can share that and only that with your engineers and be done with it.
<?xml version="1.0" encoding="ISO-8859-1" ?> <folderDef0 id="20001052" name="Live Update"> <scriptDef id="35267527" name="Live Update - Version Check 1 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\11.0\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 1 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="21349163" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec v11d" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 11d Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="1" stepNum="1" teFunc="1" fp1="5208153" fp2="" fp3="0" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="5208153" name="Live Update - Version Check 2 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.0\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 2 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="47526744" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec v12.0" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 12.0 Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="1" stepNum="1" teFunc="1" fp1="8117501" fp2="" fp3="0" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="8117501" name="Live Update - Version Check 3 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.5\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 3 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="18545530" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec v12.5" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 12.5 Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="1" stepNum="1" teFunc="1" fp1="20605976" fp2="" fp3="0" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="20605976" name="Live Update - Version Check 4 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\13.0\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 4 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="74476640" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec 2010" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 2010 Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="21349163" name="Live Update BE 11.0"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="11" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\11.0\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="20" fp1=""C:\Program Files\Symantec\LiveUpdate\LUALL.EXE" -S -M#code#" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="47526744" name="Live Update BE 12.0"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="12.0" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.0\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="20" fp1=""C:\Program Files\Symantec\LiveUpdate\LUALL.EXE" -S -M#code#" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="18545530" name="Live Update BE 12.5"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="12.5" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.5\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="20" fp1=""C:\Program Files\Symantec\LiveUpdate\LUALL.EXE" -S -M#code# -UpdateOptOut=BackupExec" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="74476640" name="Live Update BE 13.0"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="13.0" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\13.0\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="20" fp1=""C:\Program Files\Symantec\LiveUpdate\LUALL.EXE" -S -M#code# -UpdateOptOut=BackupExec" fp2="0" fp3="" osType="0" contOnFail="0" /> </scriptDef> </folderDef0>
Hi ChristiaanO, Sorry for the delay in replying I was away this weekend with no net access. Unfortunately Symantec are really, really unhelpful when it comes to documentation, I am still waiting 4 months later for a list of Event Codes for System Recovery!!! All I know with regard to LUALL.EXE is the update commands which change slightly from version to version... "#path#\LUALL.EXE" -S -M#code# -UpdateOptOut=BackupExec Now PATH is a variable I have created for the install path of BackupExec which is grabbed from the registry here... HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedUsage\LiveUpdate Then the CODE variable is absolutely required as this is passing on the PRODUCT CODE to LUALL.EXE so that is knows which application to update... HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\13.0\Install\Product Code So once all is done the command would effectively be something like... "C:\Program Files\Symantec\LiveUpdate\LUALL.EXE" -S -M{LONG-HYPHEN-SERPERATED-PRODUCT-CODE} -UpdateOptOut=BackupExec Now "-S" is silient and "-UpdateOptOut=BackupExec" means only update backup exec, how UpdateOptOUT means update I have no idea but then this is Symantec, the "-M" is for the Product Code I believe but am not 100% sure. One thing I would note is that you cannot have a space in between the "-M" and "{LONG-HYPHEN-SERPERATED-PRODUCT-CODE}" or it seems to fail. P.S. Did you manage to get it to import properly in the end? If not I have re-pasted below, I am able to import it again fine so unless you are trying on K2 it should be fine.
<?xml version="1.0" encoding="ISO-8859-1" ?> <folderDef0 id="20001052" name="Live Update"> <scriptDef id="35267527" name="Live Update - Version Check 1 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\11.0\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 1 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="21349163" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec v11d" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 11d Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="1" stepNum="1" teFunc="1" fp1="5208153" fp2="" fp3="0" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="5208153" name="Live Update - Version Check 2 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.0\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 2 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="47526744" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec v12.0" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 12.0 Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="1" stepNum="1" teFunc="1" fp1="8117501" fp2="" fp3="0" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="8117501" name="Live Update - Version Check 3 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.5\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 3 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="18545530" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec v12.5" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 12.5 Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="1" stepNum="1" teFunc="1" fp1="20605976" fp2="" fp3="0" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="20605976" name="Live Update - Version Check 4 of 4"> <scriptIf ifFunc="2" fp1="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\13.0\Install\Path" fp2="" fp3="" ifTest="1" testVal="" scriptType="0" description="Symantec Live Update Script, Version Check 4 of 4. Created by Stuart Hamilton, please feel free to share. Questions or Suggestions: Stuart@fwcs.co.uk" /> <scriptThenElse teType="0" stepNum="1" teFunc="1" fp1="74476640" fp2="" fp3="0" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="25" fp1="Backup Exec 2010" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1="attrib -r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="4" teFunc="3" fp1="%systemdrive%\FWCS\Backup Exec Version.txt" fp2="" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="5" teFunc="20" fp1="echo %time% %date% :: Backup Exec 2010 Detected!>>>> "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r "%systemdrive%\FWCS\Backup Exec Version.txt"" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="21349163" name="Live Update BE 11.0"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="11" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\11.0\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedUsage\LiveUpdate" fp3="path" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1=""#path#\LUALL.EXE" -S -M#code#" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="47526744" name="Live Update BE 12.0"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="12.0" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.0\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedUsage\LiveUpdate" fp3="path" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1=""#path#\LUALL.EXE" -S -M#code#" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="18545530" name="Live Update BE 12.5"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="12.5" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\12.5\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedUsage\LiveUpdate" fp3="path" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1=""#path#\LUALL.EXE" -S -M#code# -UpdateOptOut=BackupExec" fp2="1" fp3="" osType="0" contOnFail="0" /> </scriptDef> <scriptDef id="74476640" name="Live Update BE 13.0"> <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="0" testVal="" scriptType="0" description="13.0" /> <scriptThenElse teType="0" stepNum="1" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\13.0\Install\Product Code" fp3="code" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="2" teFunc="26" fp1="0" fp2="HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedUsage\LiveUpdate" fp3="path" osType="0" contOnFail="0" /> <scriptThenElse teType="0" stepNum="3" teFunc="20" fp1=""#path#\LUALL.EXE" -S -M#code# -UpdateOptOut=BackupExec" fp2="0" fp3="" osType="0" contOnFail="0" /> </scriptDef> </folderDef0>