Difference between revisions of "Adobe Reader 9"
(MSI extraction, installation and customization.) |
m (Version 8 uninstallation should be unnecessary since version 9 installer seems to do this automatically) |
||
Line 19: | Line 19: | ||
<package id="adobereader9ita" name="Adobe Reader 9 ita customized" revision="1" priority="50"> | <package id="adobereader9ita" name="Adobe Reader 9 ita customized" revision="1" priority="50"> | ||
<check type="uninstall" condition="exists" path="Adobe Reader 9 - Italiano" /> | <check type="uninstall" condition="exists" path="Adobe Reader 9 - Italiano" /> | ||
− | <install cmd='msiexec / | + | <install cmd='msiexec /qn /i "%SOFTWARE%\AdobeReader9ita\AcroRead.msi" allusers=1 TRANSFORMS=%SOFTWARE%\AdobeReader9ita\AcroRead.mst'> |
<exit code="0" /> | <exit code="0" /> | ||
<exit code="3010" reboot="false" /> | <exit code="3010" reboot="false" /> | ||
</install> | </install> | ||
− | <upgrade cmd='msiexec / | + | <upgrade cmd='msiexec /qn /i "%SOFTWARE%\AdobeReader9ita\AcroRead.msi" allusers=1 TRANSFORMS=%SOFTWARE%\AdobeReader9ita\AcroRead.mst' /> |
<remove cmd='MsiExec.exe /qn /x{AC76BA86-7AD7-1040-7B44-A90000000001}'> | <remove cmd='MsiExec.exe /qn /x{AC76BA86-7AD7-1040-7B44-A90000000001}'> | ||
<exit code="0" /> | <exit code="0" /> | ||
Line 62: | Line 62: | ||
</source> | </source> | ||
− | This is the package I use. The first install command is to remove the previous 8.1.2 version so remove that if you don't need it. | + | This is the package I use. 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). |
<source lang="xml"> | <source lang="xml"> |
Revision as of 08:55, 4 September 2008
Silent installer for Adobe Reader 9.
Adobe Reader 9, MSI installer
Adobe have not released an MSI for any language so you have to extract it yourself from the EXE installer (this is for the italian language version):
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.0/ita/AdbeRdr90_it_IT.exe
Then you 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="adobereader9ita" name="Adobe Reader 9 ita customized" revision="1" priority="50">
<check type="uninstall" condition="exists" path="Adobe Reader 9 - Italiano" />
<install cmd='msiexec /qn /i "%SOFTWARE%\AdobeReader9ita\AcroRead.msi" allusers=1 TRANSFORMS=%SOFTWARE%\AdobeReader9ita\AcroRead.mst'>
<exit code="0" />
<exit code="3010" reboot="false" />
</install>
<upgrade cmd='msiexec /qn /i "%SOFTWARE%\AdobeReader9ita\AcroRead.msi" allusers=1 TRANSFORMS=%SOFTWARE%\AdobeReader9ita\AcroRead.mst' />
<remove cmd='MsiExec.exe /qn /x{AC76BA86-7AD7-1040-7B44-A90000000001}'>
<exit code="0" />
<exit code="3010" reboot="false" />
</remove>
</package>
</packages>
Adobe Reader 9, EXE installer
Adobe have not released an MSI for this so you have to use the self extracting/installing setup they provide. You can download it directly from here.
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.0/enu/AdbeRdr90_en_US.exe[1]
I read on appdeploy about some registry settings which stop all the EULA and other dialogue boxes so I apply these through a logon script. One line is for the machine key and the others are user specific.
Machine.reg
HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\9.0\AdobeViewer
"EULA"=dword:00000001
"Launched"=dword:00000001
User.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
This is the package I use. 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>