Difference between revisions of "Adobe Air"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Adobe AIR 2.6.0.19140)
m (Updated package xml for Adobe Air 3.1)
Line 5: Line 5:
 
Adobe Air is available from [http://www.adobe.com/go/EN_US-H-GET-AIR Adobe]
 
Adobe Air is available from [http://www.adobe.com/go/EN_US-H-GET-AIR Adobe]
  
== Adobe AIR 2.6 ==
+
== Adobe AIR 3.1 ==
All versions of Adobe AIR (1.0 through 2.6) check the same DLL file for the version number.  Just change the value with the version you are installing.
+
All versions of Adobe AIR (1.0 through 3.1) check the same DLL file for the version number.  Just change the value with the version you are installing.
  
 
<source lang="xml">
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
+
<package id="adobeair"
+
  name="Adobe AIR"
<packages>
+
  revision="%version%"
 +
  priority="10">
 +
  <variable name="version" value="3.1.0.4880" />
 +
  <check type="uninstall" condition="exists" path="Adobe AIR" />
 +
  <check type='logical' condition='or'>
 +
    <check type="file" condition="versiongreaterorequal" path="%CommonProgramFiles%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="%version%" />
 +
    <check type="file" condition="versiongreaterorequal" path="%CommonProgramFiles(x86)%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="%version%" />
 +
  </check>
  
<package id="adobeair"
+
  <install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />
name="Adobe AIR"
+
revision="%version%"
+
priority="10">
+
  
<variable name="version" value="2.6.0.19140" />
+
  <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
 +
  <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />
  
<check type="uninstall" condition="exists" path="Adobe AIR" />
+
  <remove cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
<check type='logical' condition='or'>
+
<check type="file" condition="versiongreaterorequal" path="%CommonProgramFiles%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="%version%" />
+
<check type="file" condition="versiongreaterorequal" path="%CommonProgramFiles(x86)%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="%version%" />
+
</check>
+
  
<install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />
+
</package>
 
+
<upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />
+
 
+
<remove cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
+
</package>
+
 
+
</packages>
+
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]
 
[[Category:Adobe software]]
 
[[Category:Adobe software]]

Revision as of 06:11, 21 February 2012

Silent installer for Adobe Air.

Download

Adobe Air is available from Adobe

Adobe AIR 3.1

All versions of Adobe AIR (1.0 through 3.1) check the same DLL file for the version number. Just change the value with the version you are installing.

<package id="adobeair"
  name="Adobe AIR"
  revision="%version%"
  priority="10">
  <variable name="version" value="3.1.0.4880" />
  <check type="uninstall" condition="exists" path="Adobe AIR" />
  <check type='logical' condition='or'>
     <check type="file" condition="versiongreaterorequal" path="%CommonProgramFiles%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="%version%" />
     <check type="file" condition="versiongreaterorequal" path="%CommonProgramFiles(x86)%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="%version%" />
  </check>

  <install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />

  <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
  <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />

  <remove cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />

</package>