Changes

Jump to: navigation, search

Adobe Reader

3,080 bytes added, 19 May
Added Adobe Acrobat Pro xml installer script
</package>
 
 
</source>
 
== Adobe Acrobat Pro ==
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
 
<package
id="AdobeAcrobatPro"
name="Adobe Acrobat Reader Pro"
revision="%version%"
reboot="false"
priority="5">
 
<variable name="version" value="26.001.21431" />
<variable name="baseversion" value="21.001.20135" />
 
<variable name="baseFileVersion" value="2100120135" />
<variable name="patchFileVersion" value="2600121431" />
 
<variable name="langCode" value="en_US" />
<variable name="langName" value="English" />
 
<!-- First we need to know if we have Adobe Acrobat Pro (listed as "Adobe Acrobat (64-bit)") installed. If not then we continue below -->
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Acrobat (64-bit)" value="%version%" />
 
<!-- We want to proceed with installation or upgrade but we need to remove incompatible versions
The first version we want to be rid of is the one marked as Adobe Acrobat (64-bit). We only run
the uninstall sequence IF we find that this edition exists on the system. -->
<install cmd='msiexec /qn /x {AC76BA86-7AD7-1033-7B44-AC0F074E4100}' >
<exit code="0" />
<exit code="3010" reboot="false" />
<condition>
<check type="uninstall" condition="exists" path="Adobe Acrobat Reader" />
</condition>
</install>
 
<!-- Now we can assume that we don't have the "Adobe Acrobat (64-bit)" product installed but it
is possible we still aren't in a place where we can install the update. We need more checks. -->
 
<!-- We want to upgrade if the base version of Reader is installed -->
<install include="upgrade">
<condition>
<check type="uninstall" condition="exists" path="Adobe Acrobat (64-bit)" />
</condition>
</install>
 
<!-- If we have NOTHING installed then we need to install the base THEN run the upgrade -->
 
<install cmd='msiexec /qn /i "%SOFTWARE%\AdobeAcrobatPro\AcroPro.msi" PATCH="%SOFTWARE%\AdobeAcrobatPro\AcrobatDCx64Upd%patchFileVersion%.msp" EULA_ACCEPT=YES '>
<exit code="0" />
<exit code="3010" reboot="false" />
</install>
 
 
<!-- This will initiate if we have the correct product installed but a lower version -->
<upgrade cmd='msiexec /qn /p "%SOFTWARE%\AdobeAcrobatPro\AcrobatDCx64Upd%patchFileVersion%.msp" ' />
 
 
<remove cmd='msiexec /qn /x {AC76BA86-1033-FFFF-7760-BC15014EA700}' />
 
</package>
 
</packages:packages>
24
edits

Navigation menu