Difference between revisions of "Adobe Air"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Disable Automatic Updates / Deploy AIR applications)
(Adobe AIR 3.2)
Line 5: Line 5:
  
 
== Adobe AIR 3.2 ==
 
== Adobe AIR 3.2 ==
 +
The <code>-eulaAccepted</code> switch is optional, but prevents the user from having to accept Adobe's EULA when starting AIR for the first time.
 +
 
<source lang="xml">
 
<source lang="xml">
 
<packages>
 
<packages>
Line 16: Line 18:
 
   <check type="uninstall" condition="versionequalto" path="Adobe AIR" value="%version%" />
 
   <check type="uninstall" condition="versionequalto" path="Adobe AIR" value="%version%" />
  
   <install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />
+
   <install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted' />
  
 
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
 
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent' />
+
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted' />
  
 
   <remove cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />
 
   <remove cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -uninstall' />

Revision as of 13:45, 24 May 2012

Silent installer for Adobe AIR.

Download

Adobe AIR is available from Adobe, but you will need to apply for a free licencse to distribute it legally.

Adobe AIR 3.2

The -eulaAccepted switch is optional, but prevents the user from having to accept Adobe's EULA when starting AIR for the first time.

<packages>
<package id="adobeair"
  name="Adobe AIR"
  revision="%version%"
  priority="10">

  <variable name="version" value="3.2.0.2070" />

  <check type="uninstall" condition="versionequalto" path="Adobe AIR" value="%version%" />

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

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

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

</package>
</packages>

Disable Automatic Update

Adobe AIR automatically checks for updates and prompts the user to install them, which needs Administrator privileges.

You can use the AIR SettingsManager to change that on a per-user basis or disable this behaviour globally for all users by adding a DWORD value named UpdateDisabled to the HKLM\Software\Policies\Adobe\AIR registry key, and setting this value to 1 (According to Adobe AIR Administrator's Guide).

This can also be done through WPKG:

  <install cmd='REG ADD "HKLM\SOFTWARE\Policies\Adobe\AIR" /v UpdateDisabled /d 1 /f /t REG_DWORD' />

  <upgrade cmd='REG ADD "HKLM\SOFTWARE\Policies\Adobe\AIR" /v UpdateDisabled /d 1 /f /t REG_DWORD' />

Deploy Adobe AIR Applications

See this blog entry from Adobe to get a few hints on how to deploy Adobe AIR applications through WPKG.

Basically you can just run Adobe AIR Installer.exe -silent <Application>.air or add the following switches:

-silent
required to run without user interaction during installation
-desktopShortcut
adds a desktop shortcut for the AIR application
-programMenu
adds a Start Menu shortcut for the AIR application