Difference between revisions of "Adobe Reader"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 10: Line 10:
 
   name="Acrobat Reader 7.0.5"
 
   name="Acrobat Reader 7.0.5"
 
   revision="5"
 
   revision="5"
   reboot="false"
+
  <!-- the reboot flag may not always be necessary -->
 +
   reboot="true"
 
   priority="10">
 
   priority="10">
 
   
 
   
Line 23: Line 24:
 
  <upgrade cmd='msiexec /q /i "\\server\wpkg\pkg\Adobe Reader 7.0.5.msi" allusers=1'>
 
  <upgrade cmd='msiexec /q /i "\\server\wpkg\pkg\Adobe Reader 7.0.5.msi" allusers=1'>
 
   <exit code="0" />
 
   <exit code="0" />
 +
  <!-- exit code 3010 means "reboot"; see the corresponding reboot flag above-->
 
   <exit code="3010" />
 
   <exit code="3010" />
 
  </upgrade>
 
  </upgrade>
Line 28: Line 30:
 
  </package>
 
  </package>
  
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 the uninstall condition is met. If someone has more time to test it please '''fix this'''
+
In uninstall, change the third part of the alphanumeric chain (1033) into NLS code, which is:
 
+
- This is probably 3010 .. which means "please reboot". To fix it simply add a second exit code line to your package (and set reboot flag) .. see above.
+
 
+
- In uninstall just change the third part of the alphanumeric chain (1033) into NLS code, which is:
+
 
German: 1031
 
German: 1031
 
Polish: 1045
 
Polish: 1045

Revision as of 14:00, 2 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="acrobat7"
  name="Acrobat Reader 7.0.5"
  revision="5"
  reboot="true"
  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" />
 <exit code="3010" />
</upgrade>

</package>

In uninstall, change the third part of the alphanumeric chain (1033) into NLS code, which is: German: 1031 Polish: 1045



See Talk:Adobe_Reader for some more info on uninstalling.