Skip to main content
Participating Frequently
August 27, 2012
Question

How do i update Installed AIR Applications? // General Questions

  • August 27, 2012
  • 1 reply
  • 3549 views

Hi,

first of all, i'm completly new to AIR. However, i made my way through your product documentation and i'm now able to deploy AIR and a AIR Application (SFDC Chatter) and register it.

Works fine so far, but some questions:

- How can i update installed AIR applications? If i just try to re-install it, the installer will fail with exit code "9"

     -> How can i update them directly? If this is not possible

      -> How can i uninstall AIR applications in a large enterprise environment?

- Where is the ARH Tool that is described in your product documentation?

- When installing AIR as SYSTEM User (I'm using SCCM) where is the logfile?

- Do you recommend updating AIR on a regular base? Are "older" applications compatible with newer AIR Versions?

Thanks for your replies!

Ben

This topic has been closed for replies.

1 reply

chris.campbell
Community Manager
Community Manager
August 27, 2012

Hi Ben,

I'd recommend taking a good look at our captive runtime option that is available in AIR 3.0 and higher.  While you have to roll your own installer (and updater) this could be as simple as a zip/batch file combination.  It also allows you to use the runtime that you prefer and not be dependent on what the user installs or uninstalls.  You do have to be mindful of security implications, but it's definitely the way I'd go.

http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html

As for updating, it should be as simple as increasing your app descriptors version number and installing again.  This article explains how you can also use our update framework: http://www.adobe.com/devnet/air/articles/air_update_framework.html

The ARH tool can be found here:

Mac: http://airdownload.adobe.com/air/distribution/latest/mac/arh

Win: http://airdownload.adobe.com/air/distribution/latest/win/arh.exe

Linux: http://airdownload.adobe.com/air/distribution/latest/lin/arh

Thanks,

Chris

ben_gnatAuthor
Participating Frequently
August 28, 2012

Hi Chris,

thanks for your fast posting, but i think your links are more focussing for Adobe AIR Developers.

I'm not a developer, i'm the person who is rolling out the previously developed stuff (in my case SFDC Chatter) to thousands of users.

I need to find an easy way to update (already developed) Adobe AIR installations e.g. by a script / batch.

I thought of uninstalling the old and installing the new version, but to uninstall old versions of Adobe AIR applications i need a AppID and at the moment, i have no idea where to find it.

Can you help me out?

Adobe Employee
August 28, 2012

If you have access to a machine where the apps are installed you should be able to get the app id easily. Each air app has an "application.xml" file that contains metadata about the app including the app id (in the <id> node).

To find the application.xml file:

On Windows, look in [app install folder where the .exe file is installed]/"META-INF/AIR/application.xml

On OSX look in [Applications directory where .app file is installed]/[.app file (Choose "Show package contents")]/Contents/Resources/META-INF/AIR/application.xml

Paul Robertson

Adobe Developer Relations