Difference between revisions of "Adobe Reader 8"
From WPKG | Open Source Software Deployment and Distribution
(Adobe Reader 8 has the same quirks as version 7) |
(Added two quotemarks to avoid the error that '<' cannot be used in attributes.) |
||
| Line 20: | Line 20: | ||
<install cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" allusers=1'> | <install cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" allusers=1'> | ||
<exit code="0" /> | <exit code="0" /> | ||
| − | <exit code="0" reboot="true /> | + | <exit code="0" reboot="true" /> |
</install> | </install> | ||
<remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A80000000002}' /> | <remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A80000000002}' /> | ||
<upgrade cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" allusers=1'> | <upgrade cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" allusers=1'> | ||
<exit code="0" /> | <exit code="0" /> | ||
| − | <exit code="0" reboot="true /> | + | <exit code="0" reboot="true" /> |
</upgrade> | </upgrade> | ||
</package> | </package> | ||
Revision as of 08:47, 7 February 2007
Download and install Adobe Reader8
<?xml version="1.0" encoding="UTF-8"?>
<!--
Download from http://www.adobe.com/products/acrobat/readstep2.html
Start installer and copy "%temp%\Adobe Reader 8.0\" folder to "%SOFTWARE%\adobereader\" folder
-->
<packages>
<package
id="adobereader8"
name="Acrobat Reader8"
revision="707"
reboot="false"
priority="10">
<depends package-id="logfolder"/>
<check type="uninstall" condition="exists" path="Adobe Reader 8" />
<install cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" allusers=1'>
<exit code="0" />
<exit code="0" reboot="true" />
</install>
<remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A80000000002}' />
<upgrade cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" allusers=1'>
<exit code="0" />
<exit code="0" reboot="true" />
</upgrade>
</package>
</packages>
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 also Adobe_Reader