Difference between revisions of "Adobe Acrobat Professional 9"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(fix Acrobat 9.4.1 check conditions: version number is only touched on authplay.dll)
(updated version number warning verbiage, and added a (commented) dependency on Microsoft Office to avoid an installation-ordering problem)
Line 18: Line 18:
 
You should obtain security updates and patches from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows or from http://www.adobe.com/support/security/index.html
 
You should obtain security updates and patches from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows or from http://www.adobe.com/support/security/index.html
  
Note that for 9.3.4 & 9.4.0, the version number of Acrobat.exe did not change. We have to check Acrobat.dll to avoid constant reboots and patch failures.
+
Note that patches don't always bump the version number in the main Acrobat.exe and Acrobat.dll files. It's important to figure out which files a particular patch touches and to check their version numbers; otherwise, patches apply and request a reboot but the check conditions won't be satisfied, leading to constant reboots.
  
 
<source lang="xml">
 
<source lang="xml">
Line 27: Line 27:
 
   reboot="false"
 
   reboot="false"
 
   priority="1">
 
   priority="1">
 +
 +
        <!-- Uncomment and edit the following to make sure Acrobat is installed after Microsoft Office. Otherwise, Adobe add-ins for Office won't be installed. -->
 +
<!--        <depends package-id="msoffice2007" /> -->
  
 
         <check type="uninstall" condition="exists" path="Adobe Acrobat 9 Pro" />
 
         <check type="uninstall" condition="exists" path="Adobe Acrobat 9 Pro" />

Revision as of 22:19, 24 November 2010

To prepare Acrobat Professional 9 for silent installation, you will need to obtain the Adobe Customization Wizard from http://www.adobe.com/support/downloads/detail.jsp?ftpID=3993 so that you can prepare the package for deployment. Once you've installed and started the Customization Wizard, use File -> Copy Package to copy the package from the CD to a location where you can modify it.

You will probably need a volume license so that you can use the same key across multiple computers (but note that under certain circumstances (as set forth in section 2.4 of the EULA) you might legitimately have two computers with the same key even without using a volume license). The overhead of maintaining separate keys may not be worth the benefits of automated software deployment.

Use the Customization Wizard to enter your serial number and select the options you want. Consider:

  • Installation Options
    • Run Installation: silently
    • If reboot required at end of installation: Suppress reboot
  • Shortcuts
    • Remove desktop icon
  • EULA and Document Status
    • Suppress display of End User License Agreement (EULA)

The customization wizard can produce a bare MST file or an MST and a modified setup.ini. If you use the both, you can launch setup.exe and have it do your silent installation for you; otherwise, you can use msiexec with the MST.

You should obtain security updates and patches from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows or from http://www.adobe.com/support/security/index.html

Note that patches don't always bump the version number in the main Acrobat.exe and Acrobat.dll files. It's important to figure out which files a particular patch touches and to check their version numbers; otherwise, patches apply and request a reboot but the check conditions won't be satisfied, leading to constant reboots.

<package
   id="acrobat9"
   name="Adobe Acrobat 9"
   revision="941"
   reboot="false"
   priority="1">

        <!-- Uncomment and edit the following to make sure Acrobat is installed after Microsoft Office. Otherwise, Adobe add-ins for Office won't be installed. -->
<!--        <depends package-id="msoffice2007" /> -->

        <check type="uninstall" condition="exists" path="Adobe Acrobat 9 Pro" />

        <!-- NOTE: 9.4.1 leaves the acrobat.exe and acrobat.dll version numbers at 9.4.0.195, so we have to check authplay.dll, which it was supposed to patch -->
        <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Adobe\Acrobat 9.0\Acrobat\Acrobat.dll" value="9.4.0" />
        <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Adobe\Acrobat 9.0\Acrobat\authplay.dll" value="10.1.102.64" />

        <!-- alter this line to point at your custom transform, or just use setup.exe if you've a modified setup.ini -->
        <install cmd='msiexec /qn /norestart /i "%SOFTWARE%\Acrobat\9\Adobe Acrobat 9 Pro\AcroPro.msi" TRANSFORMS="%SOFTWARE%\Acrobat\9\AcroPro-2010-01.mst"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>

        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcroProStdUpd910_T1T2_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd911_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd912_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd913_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd920_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd930_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd932_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd933_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd934_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd940_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd941_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>

        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd930_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd932_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd933_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd934_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd940_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd941_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>


        <remove cmd='msiexec /qn /norestart /x {AC76BA86-1033-0000-7760-000000000004}' >
          <exit code="0" />
          <exit code="1614" />
          <exit code="1605" /> <!-- already removed somehow -->
          <exit code="3010" reboot="postponed" />
        </remove>



</package>

If you have an existing Acrobat deployment that you wish to bring under wpkg's control, add these lines to all install stanzas:

<exit code="1638" /> <!-- accept this just in case we are dealing with an existing copy -->
<exit code="1642" /> <!-- accept this just in case we are dealing with an existing copy -->

Acrobat 9 installed by hand but updated by wpkg

If you have an existing Acrobat deployment that you wish to patch under WPKG's control, or if (due to license key issues) you wish to install Acrobat by hand but patch it by WPKG, use this:

<package
   id="acropatch9"
   name="patch for Adobe Acrobat 9, if installed"
   revision="6"
   reboot="false"
   priority="0">
        <check type="logical" condition="or">

          <!-- satisfy if no Acrobat 9 -->
          <check type="logical" condition="not">
            <check type="file" condition="exists" path="%PROGRAMFILES%\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" />
          </check>

          <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" value="9.3.0" />

        </check>


        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcroProStdUpd910_T1T2_incr.msp"' > 
                <exit code="0" />
                <exit code="1642" /> <!-- not installed -->
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
        </install>         <!-- software has annoying language strings, so we don't check
              uninstall version info -->
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd911_all_incr.msp"' >
                <exit code="0" /> 
                <exit code="1642" /> <!-- not installed -->
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd912_all_incr.msp"' >
                <exit code="0" />
                <exit code="1642" /> <!-- not installed -->
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd913_all_incr.msp"' >
                <exit code="0" />
                <exit code="1642" /> <!-- not installed -->
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd920_all_incr.msp"' >
                <exit code="0" />
                <exit code="1642" /> <!-- not installed -->
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd930_all_incr.msp"' >
                <exit code="0" />
                <exit code="1642" /> <!-- not installed -->
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd932_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd933_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd934_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </install>

        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcroProStdUpd910_T1T2_incr.msp"' > 
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd911_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd912_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd913_all_incr.msp"' >
                <exit code="0" /> 
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd920_all_incr.msp"' >
                <exit code="0" /> 
                <exit code="3010" reboot="postponed" />
                <exit code="1638" />
                <exit code="1642" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd930_all_incr.msp"' >
                <exit code="0" /> 
                <exit code="3010" reboot="postponed" />
                <exit code="1642" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd932_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd933_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>
        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd934_all_incr.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </upgrade>

</package>


Acrobat 9 as an administrative deployment

Some of the .msp files takes a very long time to install. You might want to make an administrative install, and apply the patches to the administrative install instead.

Please note: Adobe's update regime is that only quarterly updates can be updated with new quarterly updates. If you have made an administrative install, and apply a non-quarterly update, you cannot apply a new quarterly update to it. More info can be found at Adobe: http://kb2.adobe.com/cps/498/cpsid_49880.html

To make an administrative deployment, run msiexec /a path_to_msi.msi TRANSFORMS="path_to_your_language_id.mst" and choose where you want the administrative deployment to reside.

Then you run msiexec /a path_to_administrative_deployment/acropro.msi /p path_to_quarterly_update.msp for each of the quarterly updates. You might want to snapshot this deployment, before applying non-quarterly updates, so you will not have to redo the whole process on a new quarterly update.

You can use Adobe Customization Wizard (ACW) on the administrative install, and make a wpkg package that installs the administrative install, applying the mst made from ACW.

For upgrades, you can run "msiexec /i <path of msi on AIP> REINSTALL=ALL REINSTALLMODE=vomus".