Difference between revisions of "Adobe Reader"
m |
|||
Line 14: | Line 14: | ||
<check type="uninstall" condition="exists" path="Adobe Reader 7.0.5" /> | <check type="uninstall" condition="exists" path="Adobe Reader 7.0.5" /> | ||
− | <install cmd='msiexec /q /i "% | + | <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}' /> | <remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A70500000002}' /> | ||
− | <upgrade cmd='msiexec /q /i "% | + | <upgrade cmd='msiexec /q /i "%SOFTWARE%\Adobe Reader 7.0.5.msi" allusers=1'> |
<exit code="0" /> | <exit code="0" /> | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> |
Revision as of 13:26, 27 September 2006
Download and install Adobe Reader.
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
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.