Difference between revisions of "Adobe Reader"
(→Adobe Reader 8, MSI installer) |
(Security Update 1 for Adobe Reader 8.1.2) |
||
Line 1: | Line 1: | ||
This is a silent installer and uninstaller for Adobe Reader. | This is a silent installer and uninstaller for Adobe Reader. | ||
− | You are encouraged to upgrade for security reasons: http://www.adobe.com/support/security/advisories/apsa08-01.html. | + | You are first encouraged to upgrade to version 8.1.2 for security reasons: http://www.adobe.com/support/security/advisories/apsa08-01.html. |
+ | |||
+ | You are then encouraged to update to Security Update 1 for Adobe Reader 8.1.2 for security reasons: http://www.adobe.com/support/downloads/detail.jsp?ftpID=3967 | ||
Line 11: | Line 13: | ||
You can customize you 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 | You can customize you 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. | ||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="utf-8" ?> | <?xml version="1.0" encoding="utf-8" ?> | ||
<packages> | <packages> | ||
− | <package id="AcrobatReader_en" name="Adobe Acrobat Reader 8.1.2" revision="812" priority="50"> | + | <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" /> | <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'> | <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'> | ||
Line 21: | Line 26: | ||
<exit code="3010" reboot="false" /> | <exit code="3010" reboot="false" /> | ||
</install> | </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}'> | |
− | + | ||
− | <remove cmd='MsiExec.exe /qn /x{AC76BA86-7AD7-1033-7B44-A81200000003}'> | + | |
<exit code="0" /> | <exit code="0" /> | ||
<exit code="3010" reboot="false" /> | <exit code="3010" reboot="false" /> |
Revision as of 12:48, 24 June 2008
This is a silent installer and uninstaller for Adobe Reader.
You are first encouraged to upgrade to version 8.1.2 for security reasons: http://www.adobe.com/support/security/advisories/apsa08-01.html.
You are then encouraged to update to Security Update 1 for Adobe Reader 8.1.2 for security reasons: http://www.adobe.com/support/downloads/detail.jsp?ftpID=3967
Contents
Adobe Reader 8, MSI installer
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 you 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"