Kaseya Community

script for adobe reader 9.3.3 or 9.3.4

This question is not answered

Looking for a K2 script for adobe reader 9.3.3 on x86.  It needs to be one that turns off the updater.  I have tried the ones listed in the old forum but the updater still shows to update.

Thanks in advance

All Replies
  • Consider using a multimode installer like this:

    www.ryanvm.net/.../viewtopic.php

  • Check out here for registry keys for disabling the Adobe updater:

    kb2.adobe.com/.../kb402050.html

  • Here is my new K2 Adobe Reader deployment script for anybody that wants it.

    community.kaseya.com/.../879.aspx

    -------Start-------

    <?xml version="1.0" encoding="utf-8"?>
    <ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
      <Procedure name="Adobe Reader 9.x (DL+Install)" treePres="3">
        <Body description="Description: Adobe Reader 9.x deployment agent procedure. Check to see if setup file exist in file share if not it downloads direct from Adobe.com and also attempts to update file share with new setup file. Deploys new Adobe Reader, confirms install and disables automatic update.&#xD;&#xA;&#xD;&#xA;Requires mVar &lt;FILESHARE&gt;&#xD;&#xA;&#xD;&#xA;Type: Deploy Script &#xD;&#xA;Created by: HardKnoX     (10/09/2010)">
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.3.4/enu/AdbeRdr934_en_US.exe" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="URL" />
          </Statement>
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="AdbeRdr934_en_US.exe" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="FILE" />
          </Statement>
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="&lt;FILESHARE&gt;Adobe\Reader" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="PATH" />
          </Statement>
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="9.3.4" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="nVer" />
          </Statement>
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="Adobe Reader" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="PRODUCT" />
          </Statement>
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="Adobe\Acrobat Reader\9.0\Installer" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="REGKEY" />
          </Statement>
          <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="ENU_GUID" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="REGVAL" />
          </Statement>
          <Statement description="Disables Adobe Automatic Update&#xD;&#xA;Source: http://kb2.adobe.com/cps/402/kb402050.html" name="SetRegistryValue" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="StringParameter" name="RegistryPath" value="HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\9.0\FeatureLockdown" />
            <Parameter xsi:type="StringParameter" name="Value" value="0" />
            <Parameter xsi:type="EnumParameter" name="DataType" value="Integer" />
          </Statement>
          <If description="Description: Downloads the File specified in the primary script #URL32# and stores it in the File Share specified in the #File32# variable. &#xD;&#xA;(Works with Adobe Reader 9.2)&#xD;&#xA;/sAll /rs /l /msi&quot;/qb-! /norestart ALLUSERS=1 EULA_ACCEPT=YES&#xD;&#xA;Type: Deploy Script &#xD;&#xA;Created by: HardKnoX     (12/08/2009)">
            <Condition name="TestFile">
              <Parameter xsi:type="StringParameter" name="Path" value="#PATH#\#FILE#" />
              <Parameter xsi:type="EnumParameter" name="Condition" value="NotExists" />
              <Parameter xsi:type="StringParameter" name="Value" value="" />
            </Condition>
            <Then>
              <Statement description="" name="UseCredential" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008" />
              <Statement description="" name="ExecuteShellCommand" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                <Parameter xsi:type="StringParameter" name="Command" value="MKDIR &quot;#PATH#&quot; \a" />
                <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="User" />
                <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
              </Statement>
              <Statement description="" name="ExecuteShellCommand" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                <Parameter xsi:type="StringParameter" name="Command" value="MKDIR &quot;#vAgentConfiguration.AgentTempDir#\Temp\&quot; \a" />
                <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="User" />
                <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
              </Statement>
              <Statement description="Downloads traget file with specified URL to traget path" name="GetURL" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                <Parameter xsi:type="StringParameter" name="URL" value="#URL#" />
                <Parameter xsi:type="StringParameter" name="ResponseFileName" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                <Parameter xsi:type="BooleanParameter" name="WaitComplete" value="True" />
              </Statement>
              <If description="">
                <Condition name="TestFile">
                  <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                  <Parameter xsi:type="EnumParameter" name="Condition" value="Exists" />
                  <Parameter xsi:type="StringParameter" name="Value" value="" />
                </Condition>
                <Then>
                  <Statement description="" name="ExecuteShellCommand" continueOnFail="true" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Command" value="COPY /Y &quot;#vAgentConfiguration.AgentTempDir#\Temp\#FILE#&quot; &quot;#PATH#\#FILE#&quot;" />
                    <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="User" />
                    <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
                  </Statement>
                  <Statement description="" name="ExecuteFile" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                    <Parameter xsi:type="StringParameter" name="Arguments" value="/sAll /rs /l /msi&quot;/qb-! /norestart ALLUSERS=1 EULA_ACCEPT=YES" />
                    <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
                    <Parameter xsi:type="BooleanParameter" name="WaitComplete" value="True" />
                  </Statement>
                  <Statement description="" name="DeleteFile" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                  </Statement>
                </Then>
                <Else>
                  <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Comment" value="Download of #FILE# appears to have failed, installation of #PRODUCT# #nVer# has failed!" />
                  </Statement>
                </Else>
              </If>
            </Then>
            <Else>
              <Statement description="" name="WriteScriptLogEntry" osType="Windows">
                <Parameter xsi:type="StringParameter" name="Comment" value="#FILE# Setup file found in the FileShare, Starting Installation..." />
              </Statement>
              <Statement description="" name="UseCredential" osType="Windows" />
              <Statement description="" name="ExecuteShellCommand" osType="Windows">
                <Parameter xsi:type="StringParameter" name="Command" value="MKDIR &quot;#vAgentConfiguration.AgentTempDir#\Temp&quot; \a" />
                <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="User" />
                <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
              </Statement>
              <Statement description="" name="ExecuteShellCommand" osType="Windows">
                <Parameter xsi:type="StringParameter" name="Command" value="COPY &quot;&lt;FILESHARE&gt;#PATH#\#FILE#&quot; &quot;#vAgentConfiguration.AgentTempDir#\Temp\#FILE#&quot; /Y" />
                <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="User" />
                <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
              </Statement>
              <If description="">
                <Condition name="TestFile">
                  <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                  <Parameter xsi:type="EnumParameter" name="Condition" value="Exists" />
                  <Parameter xsi:type="StringParameter" name="Value" value="" />
                </Condition>
                <Then>
                  <Statement description="" name="ExecuteFile" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                    <Parameter xsi:type="StringParameter" name="Arguments" value="/sAll /rs /l /msi&quot;/qb-! /norestart ALLUSERS=1 EULA_ACCEPT=YES" />
                    <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
                    <Parameter xsi:type="BooleanParameter" name="WaitComplete" value="True" />
                  </Statement>
                  <Statement description="" name="DeleteFile" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.AgentTempDir#\Temp\#FILE#" />
                  </Statement>
                </Then>
                <Else>
                  <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Comment" value="Download of #FILE# appears to have failed, installation of #PRODUCT# #nVer# has failed!" />
                  </Statement>
                </Else>
              </If>
            </Else>
          </If>
          <If description="">
            <Condition name="TestRegistryKey">
              <Parameter xsi:type="StringParameter" name="Path" value="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node" />
              <Parameter xsi:type="EnumParameter" name="Condition" value="NotExists" />
            </Condition>
            <Then>
              <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false">
                <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
                <Parameter xsi:type="StringParameter" name="SourceContent" value="HKEY_LOCAL_MACHINE\SOFTWARE" />
                <Parameter xsi:type="StringParameter" name="VariableName" value="REG" />
              </Statement>
              <If description="">
                <Condition name="TestRegistryKey">
                  <Parameter xsi:type="StringParameter" name="Path" value="#REG#\#REGKEY#" />
                  <Parameter xsi:type="EnumParameter" name="Condition" value="Exists" />
                </Condition>
                <Then>
                  <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="EnumParameter" name="VariableType" value="RegistryValue" />
                    <Parameter xsi:type="StringParameter" name="SourceContent" value="#REG#\#REGKEY#\#REGVAL#" />
                    <Parameter xsi:type="StringParameter" name="VariableName" value="INSTALL" />
                  </Statement>
                  <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="EnumParameter" name="VariableType" value="RegistryValue" />
                    <Parameter xsi:type="StringParameter" name="SourceContent" value="#REG#\Microsoft\Windows\CurrentVersion\Uninstall\#INSTALL#\DisplayVersion" />
                    <Parameter xsi:type="StringParameter" name="VariableName" value="cVer" />
                  </Statement>
                  <If description="">
                    <Condition name="CheckVariable">
                      <Parameter xsi:type="StringParameter" name="VariableName" value="#nVer#" />
                      <Parameter xsi:type="EnumParameter" name="Condition" value="NotEquals" />
                      <Parameter xsi:type="StringParameter" name="Value" value="#cVer#" />
                    </Condition>
                    <Then>
                      <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                        <Parameter xsi:type="StringParameter" name="Comment" value="#PRODUCT# #cVer# has been successfully installed!" />
                      </Statement>
                    </Then>
                    <Else>
                      <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" osType="NT4|2000|XP|2003|Vista|2008">
                        <Parameter xsi:type="StringParameter" name="Comment" value="Installed #PRODUCT# version is #cVer#, installation of #PRODUCT# #nVer# was unsuccessful!" />
                      </Statement>
                    </Else>
                  </If>
                </Then>
                <Else>
                  <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Comment" value="Acrobat does not appear to be installed" />
                  </Statement>
                </Else>
              </If>
            </Then>
            <Else>
              <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" osType="NT4|2000|XP|2003|Vista|2008">
                <Parameter xsi:type="EnumParameter" name="VariableType" value="ConstantValue" />
                <Parameter xsi:type="StringParameter" name="SourceContent" value="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node" />
                <Parameter xsi:type="StringParameter" name="VariableName" value="REG" />
              </Statement>
              <If description="">
                <Condition name="TestRegistryKey">
                  <Parameter xsi:type="StringParameter" name="Path" value="#REG#\#REGKEY#" />
                  <Parameter xsi:type="EnumParameter" name="Condition" value="Exists" />
                </Condition>
                <Then>
                  <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="EnumParameter" name="VariableType" value="RegistryValue" />
                    <Parameter xsi:type="StringParameter" name="SourceContent" value="#REG#\#REGKEY#\#REGVAL#" />
                    <Parameter xsi:type="StringParameter" name="VariableName" value="INSTALL" />
                  </Statement>
                  <Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="EnumParameter" name="VariableType" value="RegistryValue" />
                    <Parameter xsi:type="StringParameter" name="SourceContent" value="#REG#\Microsoft\Windows\CurrentVersion\Uninstall\#INSTALL#\DisplayVersion" />
                    <Parameter xsi:type="StringParameter" name="VariableName" value="cVer" />
                  </Statement>
                  <If description="">
                    <Condition name="CheckVariable">
                      <Parameter xsi:type="StringParameter" name="VariableName" value="#nVer#" />
                      <Parameter xsi:type="EnumParameter" name="Condition" value="NotEquals" />
                      <Parameter xsi:type="StringParameter" name="Value" value="#cVer#" />
                    </Condition>
                    <Then>
                      <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
                        <Parameter xsi:type="StringParameter" name="Comment" value="#PRODUCT# #cVer# has been successfully installed!" />
                      </Statement>
                    </Then>
                    <Else>
                      <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" osType="NT4|2000|XP|2003|Vista|2008">
                        <Parameter xsi:type="StringParameter" name="Comment" value="Installed #PRODUCT# version is #cVer#, installation of #PRODUCT# #nVer# was unsuccessful!" />
                      </Statement>
                    </Else>
                  </If>
                </Then>
                <Else>
                  <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" osType="NT4|2000|XP|2003|Vista|2008">
                    <Parameter xsi:type="StringParameter" name="Comment" value="Acrobat does not appear to be installed" />
                  </Statement>
                </Else>
              </If>
            </Else>
          </If>
        </Body>
      </Procedure>
    </ScriptExport>

    -------End-------



    [edited by: HardKnoX at 2:58 PM (GMT -7) on 9-13-2010]
  • when is the downloading of scripts going to be fix?

  • Updated my post above since the Knowledge Exchange page does not work.

  • I just re-uploaded them and they appear to be fixed now, sorry for the delay I thought it was a Forum issue...