Adobe Acrobat Professional XI

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Acrobat XI installs in a similar way to Acrobat X. It's happy to uninstall previous versions of Acrobat Pro for you.

To prepare Acrobat Professional XI for silent installation, you can use the Customization Wizard from Adobe. You will probably need a volume license so that you can use the same key across multiple computers.

You can get it from http://www.adobe.com/support/downloads/detail.jsp?ftpID=5515

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 will produce an MST file which you'll need for the installation.

Additional dependencies

Acrobat Pro X1 requires the Visual Studio C++ 2010 x64 SP1 redistributable installed otherwise you will get msiexec 1603 errors. Windows 7 SP1 lacks VCRedist 2010 SP1 by default so either ensure your machines have it or add an "<depends package-id="vcredist2010SP1" />" line to this package.

Deploying updates

Adobe releases quarterly updates for Acrobat which you can download from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows. Quarterly updates can be installed on top of Acrobat 11.0, so there's no need to chain a huge list of MSPs as with previous versions.

Between the quarterly updates, Adobe may release other updates (usually with security fixes). These typically have to be applied on top of the most recent quarterly update. To deploy them, add additional install and upgrade stanzas. You'll save time if you don't try to reapply the quarterly update, which is why the sample upgrade stanza has a condition with a versionsmallerthan check.

XML

<package
   id="acrobat11"
   name="Adobe Acrobat XI"
   revision="%PKG_VERSION%"
   reboot="false"
   priority="55">
 
        <variable name="PKG_VERSION" value="11.0.09" />
        <variable name="PKG_ATT" value="EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES AgreeToLicense=Yes ALLUSERS=1" />


        <check type="uninstall" condition="exists" path="Adobe Acrobat XI Pro" />
        <check type="uninstall" condition="versiongreaterorequal" path="Adobe Acrobat XI Pro" value="%PKG_VERSION%" />

        <check type="logical" condition="or">
                <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Adobe\Acrobat 11.0\Acrobat\Acrobat.dll" value="11.0.9.29" />
                <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\Adobe\Acrobat 11.0\Acrobat\Acrobat.dll" value="11.0.9.29" />
        </check>
 
        <install cmd='"%SOFTWARE%\Acrobat\Pro11\Adobe Acrobat XI\setup.exe" TRANSFORMS="%SOFTWARE%\Acrobat\Pro11\Adobe Acrobat XI\AcroPro.mst" %PKG_ATT%' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
        </install>
 
        <install cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\AcrobatUpd11009.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" /> <!-- in case something else already installed it -->
        </install>


        <upgrade cmd='msiexec /qn /norestart /update "%SOFTWARE%\Acrobat\Pro11\Adobe Acrobat XI\AcrobatUpd11009.msp"' >
                <exit code="0" />
                <exit code="3010" reboot="postponed" />
                <exit code="1638" /> <!-- in case something else already installed it -->
                <!-- This prevents us from trying to install this update if it's already present. This
                     makes WPKG run more quickly and allows us to just keep adding these upgrade stanzas
                     if desired. -->
                <condition>
                        <check type="uninstall" condition="versionsmallerthan" path="Adobe Acrobat XI Pro" value="11.0.09" />
                </condition>
        </upgrade>

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