Kaseya Community

Backup Exec Live Update

  • 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 &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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!&gt;&gt;&gt;&gt; &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" fp2="1" fp3="" osType="0" contOnFail="0" />
        <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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 &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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!&gt;&gt;&gt;&gt; &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" fp2="1" fp3="" osType="0" contOnFail="0" />
        <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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 &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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!&gt;&gt;&gt;&gt; &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" fp2="1" fp3="" osType="0" contOnFail="0" />
        <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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 &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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!&gt;&gt;&gt;&gt; &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" fp2="1" fp3="" osType="0" contOnFail="0" />
        <scriptThenElse teType="0" stepNum="6" teFunc="20" fp1="attrib +r &#34;%systemdrive%\FWCS\Backup Exec Version.txt&#34;" 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="&#34;C:\Program Files\Symantec\LiveUpdate\LUALL.EXE&#34; -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="&#34;C:\Program Files\Symantec\LiveUpdate\LUALL.EXE&#34; -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="&#34;C:\Program Files\Symantec\LiveUpdate\LUALL.EXE&#34; -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="&#34;C:\Program Files\Symantec\LiveUpdate\LUALL.EXE&#34; -S -M#code# -UpdateOptOut=BackupExec" fp2="0" fp3="" osType="0" contOnFail="0" />
      </scriptDef>
    </folderDef0>
    Enjoy, hope it helps, any problems please do let me know.

    Legacy Forum Name: Backup Exec Live Update,
    Legacy Posted By Username: stu_u2k



    [edited by: Brendan Cosgrove at 5:25 PM (GMT -8) on 12-17-2010] .
  • Hi, when I try and import the script I get errors in the xml.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ChristiaanO
  • Hi, when I try and import the script I get errors in the xml.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ChristiaanO
  • Hi Stuart, I have figured out what you are doing in the script, can you tell me what the rest of the command line options for LUALL.exe is? I am looking for a way to check whether there any update available.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ChristiaanO
  • 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!&gt;&gt;&gt;&gt; "%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!&gt;&gt;&gt;&gt; "%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!&gt;&gt;&gt;&gt; "%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!&gt;&gt;&gt;&gt; "%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>
    
    P.S. 11th Line where I detail the PATH Variable keeps adding a SPACE in LiveUpdate making it look like L iveUpdate, this seems to be a bug in the forum some how.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: stu_u2k



    [edited by: Brendan Cosgrove at 5:26 PM (GMT -8) on 12-17-2010] .
  • Thanks for the reply. Unfortunately I am using K2.

    I managed to figure out what it is you are doing and created my own script with the same steps. I have been looking for something like this for a while now, thanks.

    I would still like to check for updates so that I can evaluate whether to install or not instead of just installing.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ChristiaanO
  • Yes that would be nice, if you find a way please share, also maybe you would like to share your K2 version of the script for anyone in a similar boat?

    If not you could go about it the way we are by setting up a Report looking for Applications Matching "BEServer.exe" and tick "Show Version Matching" along with "List machine IDs that contain each application".

    That way you get a list of each version you have installed here and there, get them all up to one version then you can schedule a test machine to run the update script and run the report again, if different there is an update available.

    This is how we did it and we now have 5 different versions in total throughout our 1000 machines...

    10.1.5629.49
    11.0.7170.60
    12.0.1364.169
    12.5.2213.171
    13.0.2896.108

    Hope this helps.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: stu_u2k
  • BeUpdateOps.exe /? = Show options
    BeUpdateOps.exe /AddBE /OptOut = Opt Out of LiveUpdate Schedules (from SEP)
    BeUpdateOps.exe /AddBE /OptIn = Opt Into LiveUpdate Schedules (from SEP)
    BeUpdateOps.exe /RemoveBE = unregister BE from LiveUpdate



    you can run "BeUpdate.exe -AddBE -OptOut" Which will add Backup Exec to LiveUpdate but will set Backup Exec to be updated only when LiveUpdate is launched from within Backup Exec.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: shickey
  • I am still wokring on the script and testing a few things.

    Tell me, how do you update the remote agents after installing updatesm or don't you?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ChristiaanO
  • No sorry I haven't even managed to look at the remote agents yet, well not properly anyway sorry.

    I will be at some point but my to do list is so stupidly long it could be a little way off.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: stu_u2k
  • Did anyone get this working in K2 and open to sharing the final script?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: sbbssoft