Difference between revisions of "Adobe Reader"
(→Adobe Reader 9.3 Installer: Dealing with error caused by 9.3) |
(Update to 9.3.2) |
||
Line 5: | Line 5: | ||
== Adobe Reader 9.3 Installer == | == Adobe Reader 9.3 Installer == | ||
All the files are downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.3/. The English version is in the directory "enu".<br> | All the files are downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.3/. The English version is in the directory "enu".<br> | ||
− | Patch 9.3.1 can be downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.3. | + | Patch 9.3.1 can be downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.3.2/misc/AdbeRdrUpd932_all_incr.msp |
Please note that you need permission in order to redistribute Adobe Reader, even inside a corporate network. You can apply for a licence here: http://www.adobe.com/products/reader/rdr_distribution1.html?readstep | Please note that you need permission in order to redistribute Adobe Reader, even inside a corporate network. You can apply for a licence here: http://www.adobe.com/products/reader/rdr_distribution1.html?readstep | ||
Line 25: | Line 25: | ||
revision="930" | revision="930" | ||
priority="50"> | priority="50"> | ||
− | <check type="uninstall" condition="exists" path="Adobe Reader 9.3. | + | <check type="uninstall" condition="exists" path="Adobe Reader 9.3.2" /> |
<!-- First uninstall Adobe Reader 8.1.2 --> | <!-- First uninstall Adobe Reader 8.1.2 --> | ||
Line 40: | Line 40: | ||
<!-- Later install patch with the msi --> | <!-- Later install patch with the msi --> | ||
− | <install cmd='msiexec /qn /update %SOFTWARE%\AdobeReader93\ | + | <install cmd='msiexec /qn /update %SOFTWARE%\AdobeReader93\AdbeRdrUpd932_all_incr.msp' /> |
<!-- First uninstall Adobe Reader 8.1.2 --> | <!-- First uninstall Adobe Reader 8.1.2 --> | ||
Line 54: | Line 54: | ||
<!-- Later install patch with the msi --> | <!-- Later install patch with the msi --> | ||
− | <upgrade cmd='msiexec.exe /qn /update "%SOFTWARE%\AdobeReader93\ | + | <upgrade cmd='msiexec.exe /qn /update "%SOFTWARE%\AdobeReader93\AdbeRdrUpd932_all_incr.msp"' /> |
<remove cmd='msiexec /qn /x{AC76BA86-7AD7-1033-7B44-A93000000001}' > | <remove cmd='msiexec /qn /x{AC76BA86-7AD7-1033-7B44-A93000000001}' > |
Revision as of 21:49, 13 April 2010
This is a silent installer and uninstaller for Adobe Reader.
See also Adobe Reader 9.
Contents
Adobe Reader 9.3 Installer
All the files are downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.3/. The English version is in the directory "enu".
Patch 9.3.1 can be downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.3.2/misc/AdbeRdrUpd932_all_incr.msp
Please note that you need permission in order to redistribute Adobe Reader, even inside a corporate network. You can apply for a licence here: http://www.adobe.com/products/reader/rdr_distribution1.html?readstep
The .mst file is made with Adobe Customization Wizard 9, available here. You will need to follow Adobe's instructions.
More info:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="adobereader93"
name="Adobe Reader 9.3"
revision="930"
priority="50">
<check type="uninstall" condition="exists" path="Adobe Reader 9.3.2" />
<!-- First uninstall Adobe Reader 8.1.2 -->
<install cmd='MsiExec.exe /x{AC76BA86-7AD7-1033-7B44-A80000000002} /qn ' >
<exit code="1605" />
<exit code="1618" />
</install>
<!-- install with the msi -->
<install cmd='msiexec /qn /i %SOFTWARE%\adobereader93\AdbeRdr930_en_US.msi TRANSFORMS=%SOFTWARE%\adobereader93\AdbeRdr930_en_US.mst' >
<exit code="0" />
<exit code="3010" reboot="false" />
</install>
<!-- Later install patch with the msi -->
<install cmd='msiexec /qn /update %SOFTWARE%\AdobeReader93\AdbeRdrUpd932_all_incr.msp' />
<!-- First uninstall Adobe Reader 8.1.2 -->
<upgrade cmd='MsiExec.exe /x{AC76BA86-7AD7-1033-7B44-A80000000002} /qn ' >
<exit code="1605" />
<exit code="1618" />
</upgrade>
<!-- install with the msi -->
<upgrade cmd='msiexec /qn /i %SOFTWARE%\adobereader93\AdbeRdr930_en_US.msi TRANSFORMS=%SOFTWARE%\adobereader93\AdbeRdr930_en_US.mst' >
<exit code="0" />
<exit code="3010" reboot="false" />
</upgrade>
<!-- Later install patch with the msi -->
<upgrade cmd='msiexec.exe /qn /update "%SOFTWARE%\AdobeReader93\AdbeRdrUpd932_all_incr.msp"' />
<remove cmd='msiexec /qn /x{AC76BA86-7AD7-1033-7B44-A93000000001}' >
<exit code="0" />
</remove>
</package>
</packages>
The remnants of some older versions of Adobe Reader/Acrobat can cause 9.3 to fail to install the plugin correctly, causing a "The Adobe Acrobat/Reader that is running cannot be used to view PDF files in a web browser..." error. The solution that worked for me was to get wpkg to delete the "Program Files/Adobe' directory after uninstalling version 8. To do this, add the following xml snippet after the uninstall of 8.1.2.
<!-- Delete the adobe folder -->
<install cmd='cmd /C del /Q "C:\Program Files\Adobe" ' >
<exit code="0" />
</install>
Note that you should not do this if you use other adobe software. In that case, you may need to delete the other reader/acrobat folders in your Adobe folder/s
Adobe Reader 9.1 Installer
All the files are downloaded from ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.1/
Please note that you need permission in order to redistribute Adobe Reader, even inside a corporate network. You can apply for a licence here: http://www.adobe.com/products/reader/rdr_distribution1.html?readstep
The .mst file is made with Adobe Customization Wizard 9, available here: http://www.adobe.com/go/reader_wizard
More info:
- http://www.adobe.com/go/reader_wizard_info
- http://www.adobe.com/devnet/acrobat/pdfs/deploying_reader9.pdf
<package
id="adobe_reader9.1"
name="Adobe Reader 9.1 Customized"
revision="6"
priority="1">
<check type="uninstall" condition="exists" path="Adobe Reader 9.1.3" />
<install cmd='msiexec /qn /i %SOFTWARE%\ar9.1\AdbeRdr910_en_US.msi TRANSFORMS=%SOFTWARE%\AdbeRdr910_en_US.mst' >
<exit code="0" />
<exit code="3010" reboot="false" />
</install>
<install cmd='msiexec /qn /update %SOFTWARE%\ar9.1\AdbeRdrUpd911_all_incr.msp' />
<install cmd='msiexec /qn /update %SOFTWARE%\ar9.1\AdbeRdrUpd912_all_incr.msp' />
<install cmd='msiexec /qn /update %SOFTWARE%\ar9.1\AdbeRdrUpd913_all_incr.msp' />
<!-- Removing 9.1.1 -->
<upgrade cmd='msiexec /qn /x{AC76BA86-7AD7-1044-7B44-A91000000001}'>
<exit code="0" />
<exit code="3010" reboot="false" />
<exit code="1605" /> <!-- Ignore errors if already removed -->
</upgrade>
<upgrade cmd='msiexec /qn /i %SOFTWARE%\ar9.1\AdbeRdr910_en_US.msi TRANSFORMS=%SOFTWARE%\AdbeRdr910_en_US.mst' >
<exit code="0" />
<exit code="3010" reboot="false" />
</upgrade>
<upgrade cmd='msiexec /qn /update %SOFTWARE%\ar9.1\AdbeRdrUpd911_all_incr.msp' />
<upgrade cmd='msiexec /qn /update %SOFTWARE%\ar9.1\AdbeRdrUpd912_all_incr.msp' />
<upgrade cmd='msiexec /qn /update %SOFTWARE%\ar9.1\AdbeRdrUpd913_all_incr.msp' />
<!-- Removing 9.1.3 -->
<remove cmd='msiexec /qn /x{AC76BA86-7AD7-1033-7B44-A91000000001}' >
<exit code="0" />
<exit code="3010" reboot="false" />
<exit code="1605" /> <!-- Ignore errors if already removed -->
</remove>
Adobe Reader 9.0 Installer
(There is also another page just for Adobe Reader 9)
<package
id="adobe-reader"
name="Adobe Reader"
revision="1"
reboot="false"
priority="2">
<check
type="uninstall"
condition="exists"
path="Adobe Reader 9" />
<install
cmd='msiexec /qb /package "%SOFTWARE%\adobe-reader\AcroRead.msi" TRANSFORMS="%SOFTWARE%\adobe-reader\AcroRead.mst"'>
<exit
code="3010" /></install>
<upgrade
cmd='msiexec /qb /package "%SOFTWARE%\adobe-reader\AcroRead.msi" TRANSFORMS="%SOFTWARE%\adobe-reader\AcroRead.mst"'>
<exit
code="3010" /></upgrade>
<remove
cmd='msiexec /qb /uninstall "%SOFTWARE%\adobe-reader\AcroRead.msi"' />
Uninstaller wouldn't work using this:
<remove cmd='msiexec.exe /uninstall {AC76BA86-7AD7-1033-7B44-A90000000001} /qn /norestart'/>
Uninstaller would work using this:
<remove cmd='msiexec /qb /uninstall "%SOFTWARE%\adobe-reader\AcroRead.msi'/>
Adobe Reader 8, MSI installer
(There is also another page just for Adobe Reader 8)
Download the MSI installer package. Beware that some MSI packages are broken; i.e. AdbeRdr812_it_IT.msi (size 21664 KB, timestamp 12/01/2008 7.07.00) fails even when double clicked interactively by an Administrator.
You can customize your MSI package deployment by creating a "Microsoft Windows Installer Transform File" .MST file with the "Adobe Customization Wizard 8" tool: http://www.adobe.com/support/downloads/detail.jsp?ftpID=3564
The install command installs version 8.1.2 and then Security Update 1 for version 8.1.2 at the same time.
The upgrade command only installs the Security Update 1, under the assumption that version 8.1.2 is already there and you just increment the revision number.
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id="AcrobatReader_en" name="Adobe Acrobat Reader 8.1.2 with SU1" revision="812" priority="50">
<check type="uninstall" condition="exists" path="Adobe Reader 8.1.2" />
<install cmd='msiexec /q /i "%SOFTWARE%\Adobe Acrobat Reader v.8.1.2\AdbeRdr812_en_US.msi" allusers=1 TRANSFORMS=%SOFTWARE%\Adobe Acrobat Reader v.8.1.2\AdbeRdr812_en_US.mst'>
<exit code="0" />
<exit code="3010" reboot="false" />
</install>
<install cmd='msiexec /q /i "%SOFTWARE%\Adobe Acrobat Reader v.8.1.2\AcrobatReaderUpd812_SU1_all.msi"' />
<upgrade cmd='msiexec /q /i "%SOFTWARE%\Adobe Acrobat Reader v.8.1.2\AcrobatReaderUpd812_SU1_all.msi"' />
<remove cmd='MsiExec.exe /qn /x{AC76BA86-7AD7-1033-7B44-A81200000003}'>
<exit code="0" />
<exit code="3010" reboot="false" />
</remove>
</package>
</packages>
Adobe Reader 8, EXE installer
Download the full installer and use the following XML file:
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id='AcrobatReader_en' name='Adobe Acrobat Reader' revision='811' priority='50' reboot='false' >
<!-- Adobe Acrobat Reader -->
<check type='uninstall' condition='exists' path='Adobe Reader 8.1.1' />
<install cmd='"%SOFTWARE%\Adobe Acrobat Reader v.8.1\AdbeRdr810_en_US.exe" /sAll /rs' >
<exit code='3010' />
</install>
<install cmd='msiexec /qn /update "%SOFTWARE%\Adobe Acrobat Reader v.8.1.1\ReaderUpd811_all_incr.msp"' />
<install cmd='cmd /C reg import "%SOFTWARE%\Adobe Acrobat Reader v.8.1\acceptEula.reg"' />
<install cmd='cmd /C reg import "%SOFTWARE%\Adobe Acrobat Reader v.8.1\disableBeyond.reg"' />
<install cmd='cmd /C reg import "%SOFTWARE%\Adobe Acrobat Reader v.8.1.1\disableSpeedLauncher.reg"' />
<install cmd='"%SOFTWARE%\Adobe Acrobat Reader v.8.1\cleanup.cmd"' />
<remove cmd='msiexec /qn /x{AC76BA86-7AD7-1033-7B44-A81100000003}' >
<exit code='3010' />
</remove>
<upgrade cmd='"%SOFTWARE%\Adobe Acrobat Reader v.8.1\AdbeRdr810_en_US.exe" /sAll /rs' >
<exit code='3010' />
</upgrade>
<upgrade cmd='msiexec /qn /update "%SOFTWARE%\Adobe Acrobat Reader v.8.1.1\ReaderUpd811_all_incr.msp"' />
<upgrade cmd='cmd /C reg import "%SOFTWARE%\Adobe Acrobat Reader v.8.1\acceptEula.reg"' />
<upgrade cmd='cmd /C reg import "%SOFTWARE%\Adobe Acrobat Reader v.8.1\disableBeyond.reg"' />
<upgrade cmd='cmd /C reg import "%SOFTWARE%\Adobe Acrobat Reader v.8.1.1\disableSpeedLauncher.reg"' />
<upgrade cmd='"%SOFTWARE%\Adobe Acrobat Reader v.8.1\cleanup.cmd"' />
<conflicts package-id='AcrobatReader_de' />
</package>
</packages>
I used some additional commands to customize the installation after applying the package. Here is the code of the files.
acceptEula.reg:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\8.0\AdobeViewer] "EULA"=dword:00000001 "Launched"=dword:00000001
disableBeyond.reg:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Reader\8.0\Downtown] "bDontShowAtLaunch"=dword:00000001
disableSpeedLauncher.reg:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "Adobe Reader Speed Launcher"=-
cleanup.cmd
@echo off echo Removing unnecessary shortcuts del /F "%ALLUSERSPROFILE%\Desktop\Adobe Reader*.*" exit 0
Acrobat Reader 7
In, for example, %PROGRAMFILES%\Adobe\Acrobat 7.0\Setup FilesRdrBig708\ENU_ (and also ENU, though this probably comes from the Enterprise Edition installer) are
Adobe Reader 7.0.8.msi
and Data1.cab
. Copy these files to your server and use them to deploy Adobe Reader on other workstations.
Take care of the language version, the one below is English. A package in a different language will also have a different ID for the remove command. If you previously have a package called acrobat7, increment the revision number - the upgrade command comes into effect and obsoletes 7.0 and 7.0.1 to 7.0.4 packages.
<package
id="adobe-reader"
name="Adobe Reader 7.0.5"
revision="5"
priority="10">
<check type="uninstall" condition="exists" path="Adobe Reader 7.0.5" />
<install cmd='msiexec /q /i "%SOFTWARE%\Adobe Reader 7.0.5.msi" allusers=1' />
<remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A70500000002}' />
<upgrade cmd='msiexec /q /i "%SOFTWARE%\Adobe Reader 7.0.5.msi" allusers=1'>
<exit code="0" />
<exit code="3010" reboot="true" />
</upgrade>
</package>
Exit code 3010 means "reboot"; see the corresponding reboot flag.
In the 'remove' section, change the third part of the alphanumeric chain (i.e. the '1033' in 'AC76BA86-7AD7-1033-7B44-A70500000002') into the correct locale ID (LCID) / National Language Support (NLS) code, for example:
- Chinese (Traditional): 1028
- German: 1031
- English (US): 1033
- French: 1036
- Japanese: 1041
- Korean: 1042
- Polish: 1045
- Chinese (Simplified): 2052
- Italian: 1040
There is a list of locale IDs at http://www.microsoft.com/globaldev/reference/lcid-all.mspx.
See Talk:Adobe_Reader for some more info on uninstalling.
Removing desktop shortcut
del "%ALLUSERSPROFILE%\Desktop\Adobe Reader 7.0.lnk"