Difference between revisions of "Adobe Reader"
Line 25: | Line 25: | ||
Right now this produces an error sometimes. That is because the installer seems to finish with different exit codes depending on machine configuration. But it kind of works - first WPKG installs 7.0.5 and exits with an error code and on the next run WPKG bypasses it because uninstall condition is met. If someone has more time to test it please '''fix this''' | Right now this produces an error sometimes. That is because the installer seems to finish with different exit codes depending on machine configuration. But it kind of works - first WPKG installs 7.0.5 and exits with an error code and on the next run WPKG bypasses it because uninstall condition is met. If someone has more time to test it please '''fix this''' | ||
+ | For German version use {AC76BA86-7AD7-1031-7B44-A70500000002} in uninstall. Seems 3rd part is the NLS ident. | ||
[[category:Silent Installers|Acrobat Reader 7]] | [[category:Silent Installers|Acrobat Reader 7]] |
Revision as of 19:06, 25 October 2005
First, install Acrobat Reader normally (download the installer from adobe.com, double click on it, and install it). In the directory where Acrobat was installed, you will find an MSI package. Just copy it to your server and use it to deploy Acrobat Reader in the future. Take care of the language version, the one below is English. A package in a different language will also have a different ID for remove command. If you previously have a package 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="acrobat7" name="Acrobat Reader 7.0.5" revision="5" reboot="false" priority="10"> <check type="uninstall" condition="exists" path="Adobe Reader 7.0.5" /> <install cmd='msiexec /q /i "\\server\wpkg\pkg\Adobe Reader 7.0.5.msi" allusers=1'> <exit code="0" /> </install> <remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A70500000002}' /> <upgrade cmd='msiexec /q /i "\\server\wpkg\pkg\Adobe Reader 7.0.5.msi" allusers=1'> <exit code="0" /> </upgrade> </package>
Right now this produces an error sometimes. That is because the installer seems to finish with different exit codes depending on machine configuration. But it kind of works - first WPKG installs 7.0.5 and exits with an error code and on the next run WPKG bypasses it because uninstall condition is met. If someone has more time to test it please fix this
For German version use {AC76BA86-7AD7-1031-7B44-A70500000002} in uninstall. Seems 3rd part is the NLS ident.