Adobe AIR 1.5 Update Framework

Lately I’ve been working on a small Adobe AIR application, and one of the last things I had to do for this application was build in auto-update functionality. So, naturally, I hit the all knowing sage with my question, and found many blog posts referencing the official Adobe AIR Update Framework, an additional swc library you can download and include in your project.

Last night I found out that this framework has been rolled into the latest AIR 1.5 SDK, so I checked my version and downloaded the update. My experience with the Flex SDK told me I’d have to find the SDK path in Flex Builder and point it to my new SDK to get the auto-update goodness.

This, however, was not the case – there was no variable. So I searched more online for the answers to my question, and finally found some official Adobe documentation. After a quick browse through, I deemed this useless. I still could not find how to get access to the ApplicationUpdaterUI class. 

Eventually I re-read that documentation, and a section that I thought was incorrectly copied from the old update framework download actually held the key.

You still need to copy the swc library to your project

Only, the swc is in the AIR SDK package, not available as a separate download. Having copied the library to my project, I then had access to the auto-update goodness, but no thanks to Adobe’s confusing documentation.

Comments

blog comments powered by Disqus