Difference between revisions of "Adobe Reader 9"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(updated for 9.1.1, added download matrix, several other changes)
m (Update: typo)
Line 132: Line 132:
 
* Download the update.
 
* Download the update.
 
* Copy it from <Local Appdata>\Adobe\Updater6\Install\reader9rdr-*_*\AdbeRdrUpd911_all_incr.msp to your wpkg software drive
 
* Copy it from <Local Appdata>\Adobe\Updater6\Install\reader9rdr-*_*\AdbeRdrUpd911_all_incr.msp to your wpkg software drive
Add these lines:
 
  
 +
Add these lines:
 
<source lang="xml">
 
<source lang="xml">
 
     <install cmd='MsiExec.exe /qn /update "%SOFTWARE%\adobereader\AdbeRdrUpd911_all_incr.msp"' />
 
     <install cmd='MsiExec.exe /qn /update "%SOFTWARE%\adobereader\AdbeRdrUpd911_all_incr.msp"' />

Revision as of 00:16, 26 May 2009

Silent installer for Adobe Reader 9.1.1.

For security reasons you are strongly encouraged to upgrade to version 9.1.1, or to update to version 8.1.5 if you can't upgrade to the 9.x series. See Adobe Security Bulletin.

Download

At the time of writing Adobe Reader 9.1.1 is not available as a single downloadable installer: you have the to install 9.1 for your language and then apply the "Adobe Reader 9.1.1 Update - Multiple Languages" available here: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4452.

Adobe Reader Download Matrix
english french german italian
msi-ftp AdbeRdr910_en_US.msi AdbeRdr910_fr_FR.msi AdbeRdr910_de_DE.msi AdbeRdr910_it_IT.msi
exe-ftp AdbeRdr910_en_US.exe AdbeRdr910_fr_FR.exe AdbeRdr910_de_DE.exe AdbeRdr910_it_IT.exe
exe-http AdbeRdr910_en_US.exe AdbeRdr910_fr_FR.exe AdbeRdr910_de_DE.exe AdbeRdr910_it_IT.exe

Other languages can be found on ftp.adobe.com!

Other useful files:

MSI installer

Extraction from EXE

You should prefer the direct MSI download and scip to #Customization but the MSI could also be extracted from the EXE.

Extraction will produce in your user profile's "\Local Settings\Application Data\Adobe\Reader 9.1\Setup Files" directory the following files, which have to be copied to the %SOFTWARE% location:

abcpy.ini
AcroRead.msi
Data1.cab
Setup.exe
setup.ini

The actual path of the "Setup Files"-dir depends on the used language in Windows. You can always find the correct path at "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Local AppData" in your registry!

reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Local AppData"

Customization

Then are encouraged to download and install the "Adobe Customization Wizard 9" which allows to create a Microsoft Transform File (.MST) with many customizable parameters (EULA, updates, online services, directories, etc.):

http://www.adobe.com/support/downloads/detail.jsp?ftpID=3993

Remember, the following is for the italian version; adapt names, packages, strings and uninstallation GUIDS to your language.

<packages>
 <package id="adobereader911ita" name="Adobe Reader 9.1.1 ita customized" revision="1" priority="50">
  <check type="uninstall" condition="exists" path="Adobe Reader 9.1.1 - Italiano" />
  <install cmd='msiexec /qn /i "%SOFTWARE%\AdobeReader91ita\AcroRead.msi" allusers=1 TRANSFORMS=%SOFTWARE%\AdobeReader91ita\AcroRead.mst'>
   <exit code="0" />
   <exit code="3010" reboot="false" />
  </install>
  <install cmd='msiexec.exe /qn /update "%SOFTWARE%\AdobeReader91ita\AdbeRdrUpd911_all_incr.msp"' />
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\AdobeReader91ita\AcroRead.msi" allusers=1 TRANSFORMS=%SOFTWARE%\AdobeReader91ita\AcroRead.mst' />
  <upgrade cmd='msiexec.exe /qn /update "%SOFTWARE%\AdobeReader91ita\AdbeRdrUpd911_all_incr.msp"' />
  <remove  cmd='MsiExec.exe /qn /x {AC76BA86-7AD7-1040-7B44-A91000000001}'>
   <exit code="0" />
   <exit code="3010" reboot="false" />
  </remove>
 </package>
</packages>


EXE installer

On appdeploy they write about some registry settings which stop all the EULA and other dialogue boxes so we could apply these through a logon script. One line is for the machine key and the others are user specific.

hklm_adobe_reader_eula.reg:

HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\9.0\AdobeViewer
"EULA"=dword:00000001
"Launched"=dword:00000001


hkcu_adobe_reader_eula.reg:

HKEY_CURRENT_USER\SOFTWARE\Adobe\CommonFiles\Usage\Reader 9
"OptIn"=dword:00000000

HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\9.0\AVGeneral
"bCheckForUpdatesAtStartup"=dword:00000000

HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\9.0\Originals
"bDisplayedSplash"=dword:00000001

The first install command is to remove the previous 8.1.2 version so remove that if you don't need it (or just let the installer remove the older 8.1.2 version for you, as it does automatically and silently).

<package id="acrobatreader9"
    name="Adobe Acrobat Reader 9"
    revision="1"
    priority="2">
    <check type="uninstall" condition="exists" path="Adobe Reader 9" />
    <install cmd='MsiExec.exe /x{AC76BA86-7AD7-1033-7B44-A80000000002} /qn ' >
    <exit code="1605" />
     </install>
    <install cmd='%SOFTWARE%\reader9\adberdr90_en_us.exe /sPB /rs /l /msi"qb-! EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES AgreeToLicense=Yes ENABLE_CACHE_FILES=No allusers=2 " ' />
    <remove cmd='MsiExec.exe /x{AC76BA86-7AD7-1033-7B44-A90000000001} ' />
</package>


Update

You can deploy the updates for Adobe Reader 9 too:

  • First install Adobe Reader 9.
  • Then open the software, go to : Help > Check for Updates.
  • Download the update.
  • Copy it from <Local Appdata>\Adobe\Updater6\Install\reader9rdr-*_*\AdbeRdrUpd911_all_incr.msp to your wpkg software drive

Add these lines:

    <install cmd='MsiExec.exe /qn /update "%SOFTWARE%\adobereader\AdbeRdrUpd911_all_incr.msp"' />
    <upgrade cmd='MsiExec.exe /qn /update "%SOFTWARE%\adobereader\AdbeRdrUpd911_all_incr.msp"' />